summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
diff options
context:
space:
mode:
authorLeo Li <sunpeng.li@amd.com>2024-07-11 21:38:11 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-07-28 00:30:58 +0300
commit17e68f89132b9ee4b144358b49e5df404b314181 (patch)
treed4dfc9cc5d90d7ec7e467de01720fff2c3f5de58 /drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
parent7fb363c57522b704e156fc4c5fbcb7ee133fe304 (diff)
downloadlinux-17e68f89132b9ee4b144358b49e5df404b314181.tar.xz
drm/amd/display: Run idle optimizations at end of vblank handler
[Why & How] 1. After allowing idle optimizations, hw programming is disallowed. 2. Before hw programming, we need to disallow idle optimizations. Otherwise, in scenario 1, we will immediately kick hw out of idle optimizations with register access. Scenario 2 is less of a concern, since any register access will kick hw out of idle optimizations. But we'll do it early for correctness. Signed-off-by: Leo Li <sunpeng.li@amd.com> Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c')
0 files changed, 0 insertions, 0 deletions