Skip to content

Commit 5d945cb

Browse files
Rodrigo Siqueiraalexdeucher
authored andcommitted
drm/amd/display: Create a file dedicated to planes
[Why] The amdgpu_dm file contains most of the code that works as an interface between DRM API and DC. As a result, this file becomes very large since it comprises multiple abstractions such as plane manipulation. [How] This commit extracts the plane code to its specific file named amdgpu_dm_plane. This change does not change anything inside the functions; the only exception is converting some static functions to a global function. Tested-by: Daniel Wheeler <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Acked-by: Alan Liu <[email protected]> Signed-off-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 25f7cde commit 5d945cb

File tree

4 files changed

+2103
-1842
lines changed

4 files changed

+2103
-1842
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@
2525

2626

2727

28-
AMDGPUDM = amdgpu_dm.o amdgpu_dm_irq.o amdgpu_dm_mst_types.o amdgpu_dm_color.o
28+
AMDGPUDM = \
29+
amdgpu_dm.o \
30+
amdgpu_dm_plane.o \
31+
amdgpu_dm_irq.o \
32+
amdgpu_dm_mst_types.o \
33+
amdgpu_dm_color.o
2934

3035
ifdef CONFIG_DRM_AMD_DC_DCN
3136
AMDGPUDM += dc_fpu.o

0 commit comments

Comments
 (0)