diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2021-05-19 12:40:48 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-04 16:39:19 -0400 |
commit | 64b1d0e8d5002f5b9e898ea543f75e55e3aa28ee (patch) | |
tree | 3035902c93b8a7df7ca4291104772fb7b1040c77 /drivers/gpu/drm/amd/display/dc/inc | |
parent | fcffbcf48df325e39e4f50c6264b39d0de60e34a (diff) | |
download | linux-64b1d0e8d5002f5b9e898ea543f75e55e3aa28ee.tar.gz linux-64b1d0e8d5002f5b9e898ea543f75e55e3aa28ee.tar.bz2 linux-64b1d0e8d5002f5b9e898ea543f75e55e3aa28ee.zip |
drm/amd/display: Add DCN3.1 HWSEQ
Add DCN3.1 specific hardware sequence programming - extending off of
our existing DCN3/DCN2 support.
Extend stream hardware sequencing to include new DCCG programming.
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h index 1d5853c95448..bb03502d8f6b 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h @@ -235,6 +235,10 @@ struct hw_sequencer_funcs { enum dc_color_depth color_depth, const struct tg_color *solid_color, int width, int height, int offset); + +#if defined(CONFIG_DRM_AMD_DC_DCN3_1) + void (*z10_restore)(struct dc *dc); +#endif }; void color_space_to_black_color( |