summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAric Cyr <Aric.Cyr@amd.com>2025-01-09 15:03:48 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-08 10:02:26 +0100
commit73ac634fb19474c09a909d4fee93e1b9ec45aea2 (patch)
treed45ffba673b52675b62a0a50d3ea19c981bcff82 /tools/perf/scripts/python/stackcollapse.py
parent5936f2f32398d15337a006dcbfce946d5a1430e6 (diff)
drm/amd/display: Add hubp cache reset when powergating
commit 01130f5260e5868fb6b15ab8c00dbc894139f48e upstream. [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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions