diff options
| author | Alvin Lee <[email protected]> | 2024-04-26 21:28:46 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-06-05 15:06:36 +0000 |
| commit | e69d43356ffdfb968c0c515bd42a8ad9a7399fcb (patch) | |
| tree | 586c6725e8d7bbfa00fe1061d93016c20fab9ec1 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
| parent | drm/amd/display: Only program P-State force if pipe config changed (diff) | |
| download | kernel-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
