diff options
| author | Ivan Lipski <[email protected]> | 2025-08-20 19:46:52 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-08-29 15:15:08 +0000 |
| commit | 3ebf766c35464ebdeefb6068246267147503dc04 (patch) | |
| tree | 9f3fe64b49ab0a22e44e244a784dad2d928ab199 /drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h | |
| parent | drm/amdgpu: drop hw access in non-DC audio fini (diff) | |
| download | kernel-3ebf766c35464ebdeefb6068246267147503dc04.tar.gz kernel-3ebf766c35464ebdeefb6068246267147503dc04.zip | |
drm/amd/display: Clear the CUR_ENABLE register on DCN314 w/out DPP PG
[Why&How]
ON DCN314, clearing DPP SW structure without power gating it can cause a
double cursor in full screen with non-native scaling.
A W/A that clears CURSOR0_CONTROL cursor_enable flag if
dcn10_plane_atomic_power_down is called and DPP power gating is disabled.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4168
Reviewed-by: Sun peng (Leo) Li <[email protected]>
Signed-off-by: Ivan Lipski <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Tested-by: Dan Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit 645f74f1dc119dad5a2c7bbc05cc315e76883011)
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h')
| -rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h index 0c5675d1c593..1b7c085dc2cc 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h @@ -349,6 +349,9 @@ struct dpp_funcs { struct dpp *dpp_base, enum dc_color_space color_space, struct dc_csc_transform cursor_csc_color_matrix); + + void (*dpp_force_disable_cursor)(struct dpp *dpp_base); + }; |
