]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: Create optc.h file
authorRodrigo Siqueira <rodrigo.siqueira@amd.com>
Fri, 20 Oct 2023 21:31:24 +0000 (15:31 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Nov 2023 17:03:30 +0000 (12:03 -0500)
commit60ccd588d5820fc270bdd75185b5dc0220019e35
tree03c57ec0acd6432af7c3d80188bbf72b099bce8d
parent3e18d4bd9ac627d8262661272ea1e60631c2608e
drm/amd/display: Create optc.h file

For all the components that participate in DCN architecture, there is a
header in the dc/inch/hw. For some reason, OPTC broke this pattern and
added all the primary functions/structs associated with that in the
dcn10_optc.h file. For consistency's sake, this commit introduces a new
optc.h file and extracts the code from dcn10_optc to this new file.

Reviewed-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Acked-by: Hersen Wu <hersenxs.wu@amd.com>
Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.h
drivers/gpu/drm/amd/display/dc/inc/hw/optc.h [new file with mode: 0644]