Re: [PATCH 00/13] drm/msm: move KMS code from msm_drv.c

2023-10-09 Thread Rob Clark
On Sun, Jul 2, 2023 at 5:37 PM Dmitry Baryshkov wrote: > > Currently both msm_drm_init() and msm_drm_uninit() functions are trying > to handle both normal and headless Adreno cases. This results in a > suboptimal code, since headless case still gets modesetting and atomic > interfaces enabled. Two

[PATCH 00/13] drm/msm: move KMS code from msm_drv.c

2023-07-02 Thread Dmitry Baryshkov
Currently both msm_drm_init() and msm_drm_uninit() functions are trying to handle both normal and headless Adreno cases. This results in a suboptimal code, since headless case still gets modesetting and atomic interfaces enabled. Two mentioned functions are a spaghetti of `if (priv->kms)' condition