diff options
| author | 2019-11-18 15:41:19 -0500 | |
|---|---|---|
| committer | 2019-12-18 16:09:08 -0500 | |
| commit | cf27a6d15d950ed1beb3926469c9eaa6907bbf88 (patch) | |
| tree | 7404a741d636d063b1a52ec2291fa337e27297e3 /drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h | |
| parent | drm/amd/display: Use pipe_count for num of opps (diff) | |
| download | linux-dev-cf27a6d15d950ed1beb3926469c9eaa6907bbf88.tar.xz linux-dev-cf27a6d15d950ed1beb3926469c9eaa6907bbf88.zip | |
drm/amd/display: update chroma viewport wa
[Why]
Need previously implemented chroma vp wa to work for rotation cases.
[How]
Implement rotation specific wa.
Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h')
| -rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h b/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h index 85a34dde8526..686145933335 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h @@ -82,9 +82,10 @@ struct hubp_funcs { void (*mem_program_viewport)( struct hubp *hubp, const struct rect *viewport, - const struct rect *viewport_c, - enum dc_rotation_angle rotation); - /* rotation needed for Renoir workaround */ + const struct rect *viewport_c); + + void (*apply_PLAT_54186_wa)(struct hubp *hubp, + const struct dc_plane_address *address); bool (*hubp_program_surface_flip_and_addr)( struct hubp *hubp, |
