diff options
author | Aric Cyr <Aric.Cyr@amd.com> | 2025-01-09 23:03:48 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-01-24 17:56:22 +0300 |
commit | 01130f5260e5868fb6b15ab8c00dbc894139f48e (patch) | |
tree | 58e65b35b1bb2373c66d2a9a1e22b72af30a49f1 /tools/perf/scripts/python/parallel-perf.py | |
parent | 335acfb64eb88eb638e2adc8ba5bfa530f2dd20d (diff) | |
download | linux-01130f5260e5868fb6b15ab8c00dbc894139f48e.tar.xz |
drm/amd/display: Add hubp cache reset when powergating
[Why]
When HUBP is power gated, the SW state can get out of sync with the
hardware state causing cursor to not be programmed correctly.
[How]
Similar to DPP, add a HUBP reset function which is called wherever
HUBP is initialized or powergated. This function will clear the cursor
position and attribute cache allowing for proper programming when the
HUBP is brought back up.
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Sung Lee <sung.lee@amd.com>
Signed-off-by: Aric Cyr <Aric.Cyr@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions