linux/drivers/gpu/drm/amd/display
Alvin Lee e69d43356f 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 <samson.tam@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-06-05 11:06:36 -04:00
..
amdgpu_dm drm/amd/display: Convert some legacy DRM debug macros into appropriate categories 2024-06-05 10:58:01 -04:00
dc drm/amd/display: Move fpo_in_use to stream_status 2024-06-05 11:06:36 -04:00
dmub drm/amd/display: Add params of set_abm_event for VB Scaling 2024-06-05 11:05:24 -04:00
include drm/amd/display: fix graphics_object_id size 2024-05-29 14:48:31 -04:00
modules drm/amd/display: Add array index check for hdcp ddc access 2024-05-02 16:18:17 -04:00
Kconfig drm/amd/display: Fix invalid Copyright notice 2024-05-02 16:18:16 -04:00
Makefile drm/amd/display: Refactor HUBP into component folder. 2024-05-08 15:17:03 -04:00