Skip to content

Commit

Permalink
drm/msm: carve out KMS code from msm_drv.c
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Dmitry Baryshkov <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/561648/
Signed-off-by: Rob Clark <[email protected]>
  • Loading branch information
lumag authored and robclark committed Oct 9, 2023
1 parent 7d4d6ef commit 506efcb
Show file tree
Hide file tree
Showing 4 changed files with 365 additions and 328 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/msm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ msm-y += \
msm_gpu_devfreq.o \
msm_io_utils.o \
msm_iommu.o \
msm_kms.o \
msm_perf.o \
msm_rd.o \
msm_ringbuffer.o \
Expand Down
Loading

0 comments on commit 506efcb

Please sign in to comment.