aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
diff options
context:
space:
mode:
authorAlvin Lee <[email protected]>2024-04-26 21:28:46 +0000
committerAlex Deucher <[email protected]>2024-06-05 15:06:36 +0000
commite69d43356ffdfb968c0c515bd42a8ad9a7399fcb (patch)
tree586c6725e8d7bbfa00fe1061d93016c20fab9ec1 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
parentdrm/amd/display: Only program P-State force if pipe config changed (diff)
downloadkernel-e69d43356ffdfb968c0c515bd42a8ad9a7399fcb.tar.gz
kernel-e69d43356ffdfb968c0c515bd42a8ad9a7399fcb.zip
drm/amd/display: Move fpo_in_use to stream_status
[Description] Refactor code and move fpo_in_use into stream_status to avoid unexpected changes to previous dc_state (i.e., current_state). Since stream pointers are shared between current and new dc_states, updating parameters of one stream will update the other as well which causes unexpected behaviors (i.e., checking that fpo_in_use isn't set in previous state and set in the new state is invalid). To avoid incorrect updates to current_state, move the fpo_in_use flag into dc_stream_status since stream_status is owned by dc and are not shared between different dc_states. Reviewed-by: Samson Tam <[email protected]> Acked-by: Zaeem Mohamed <[email protected]> Signed-off-by: Alvin Lee <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
0 files changed, 0 insertions, 0 deletions