Skip to content

Commit 506efcb

Browse files
lumagrobclark
authored andcommitted
drm/msm: carve out KMS code from msm_drv.c
The msm_drv.c contains generic code intermixed with KMS handling code. Move all KMS-related code to a separate msm_kms.c file, cleaning up init code while doing this move. This also prevents msm driver from registering modesetting / atomic interfaces in the headless case. Reviewed-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/561648/ Signed-off-by: Rob Clark <robdclark@chromium.org>
1 parent 7d4d6ef commit 506efcb

4 files changed

Lines changed: 365 additions & 328 deletions

File tree

drivers/gpu/drm/msm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ msm-y += \
106106
msm_gpu_devfreq.o \
107107
msm_io_utils.o \
108108
msm_iommu.o \
109+
msm_kms.o \
109110
msm_perf.o \
110111
msm_rd.o \
111112
msm_ringbuffer.o \

0 commit comments

Comments
 (0)