]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Create a file dedicated to planes
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Wed, 20 Jul 2022 19:31:42 +0000 (15:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Jul 2022 20:10:38 +0000 (16:10 -0400)
commitb4f826067c9c54e31f55cc5a35276a195d0def8e
tree254d5ed2b0eb5cef1276caa2fe33f6b03d7199e1
parent613351a47e067206279edede1ae46facd7027771
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 <daniel.wheeler@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/Makefile
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.h [new file with mode: 0644]