diff options
author | Rodrigo Siqueira <rodrigo.siqueira@amd.com> | 2023-10-20 15:31:24 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-07 12:03:30 -0500 |
commit | 60ccd588d5820fc270bdd75185b5dc0220019e35 (patch) | |
tree | 03c57ec0acd6432af7c3d80188bbf72b099bce8d /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h | |
parent | 3e18d4bd9ac627d8262661272ea1e60631c2608e (diff) | |
download | linux-60ccd588d5820fc270bdd75185b5dc0220019e35.tar.gz linux-60ccd588d5820fc270bdd75185b5dc0220019e35.tar.bz2 linux-60ccd588d5820fc270bdd75185b5dc0220019e35.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h index 0f580ea37576..133af994a08c 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h @@ -37,7 +37,7 @@ #include <drm/drm_framebuffer.h> #include <drm/drm_encoder.h> #include <drm/drm_atomic.h> -#include "dcn10/dcn10_optc.h" +#include "dc/inc/hw/optc.h" #include "dc/inc/core_types.h" |