2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/amd/display/dc/inc/hw
Aric Cyr 01130f5260 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>
2025-01-24 09:56:22 -05:00
..
abm.h drm/amd/display: Correctly restore user_level 2024-01-03 10:31:52 -05:00
audio.h drm/amd/display: Disable HBR audio for DP2 for certain ASICs 2024-07-23 17:07:09 -04:00
aux_engine.h drm/amd/display: Remove unused function 2023-07-18 11:13:23 -04:00
clk_mgr_internal.h drm/amd/display: update dcn351 used clock offset 2024-12-10 10:37:16 -05:00
clk_mgr.h drm/amd/display: Log Hard Min Clocks and Phantom Pipe Status 2025-01-10 11:59:27 -05:00
cursor_reg_cache.h drm/amd/display: add a license to cursor_reg_cache.h 2022-10-11 11:33:16 -04:00
dccg.h drm/amd/display: fix dccg root clock optimization related hang 2024-09-06 17:41:07 -04:00
dchubbub.h drm/amd/display: Enable Request rate limiter during C-State on dcn401 2024-11-20 09:39:42 -05:00
dmcu.h drm/amd/display: Drop struct crc_region and reuse struct rect 2022-10-27 14:42:40 -04:00
dpp.h drm/amd/display: Add simple struct doc to remove doc build warning 2024-07-16 11:45:09 -04:00
dwb.h drm/amd/display: Reorganize dwb header 2024-04-12 00:36:27 -04:00
gpio.h
hubp.h drm/amd/display: Add hubp cache reset when powergating 2025-01-24 09:56:22 -05:00
hw_shared.h drm/amd/display: Implement bias and scale pre scl 2024-07-23 17:07:10 -04:00
ipp.h
link_encoder.h drm/amd/display: have pretrain for dpia 2025-01-06 14:44:27 -05:00
mcif_wb.h
mem_input.h drm/amd/display: Update dc_tiling_info union to structure 2025-01-06 14:44:27 -05:00
mpc.h drm/amd/display: Add doc entry for program_3dlut_size 2024-07-16 11:44:10 -04:00
opp.h drm/amd/display: Add simple struct doc to remove doc build warning 2024-07-16 11:45:09 -04:00
optc.h drm/amd/display: Extend dc_stream_get_crc to support 2nd crc engine 2025-01-06 14:44:26 -05:00
panel_cntl.h drm/amd/display: Only allow dig mapping to pwrseq in new asic 2024-02-22 10:17:52 -05:00
pg_cntl.h drm/amd/display: Enable DCN clock gating for DCN35 2023-11-17 09:30:50 -05:00
stream_encoder.h drm/amd/display: Add seamless boot support for more DIG operation modes 2024-07-27 17:34:07 -04:00
timing_generator.h drm/amd/display: Add support to configure CRC window on specific CRC instance 2025-01-10 12:03:45 -05:00
transform.h drm/amd/display: Remove unused code 2024-08-06 10:40:18 -04:00
vmid.h
vpg.h drm/amd/display: refactor vpg.h 2024-04-09 22:16:02 -04:00