mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
Paul Wu 5728d5e58d drm/amd/display: Set stream_count to 0 when dc_resource_state_destruct.
[Why]
When hardware need to be reset, driver need to reset stream objects but
dc_resource_state_destruct function omit resetting stream_count. It will
lead page fault if some logic will touch stream object.

[How]
Set stream_count to 0 when dc_resource_state_destruct.

Signed-off-by: Paul Wu <paul.wu@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Wayne Lin <Wayne.Lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-05-10 18:06:44 -04:00
..
amdgpu_dm drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
dc drm/amd/display: Set stream_count to 0 when dc_resource_state_destruct. 2021-05-10 18:06:44 -04:00
dmub drm/amd/display: Extend DMUB HW params to allow DM to specify boot options 2021-05-10 18:06:44 -04:00
include drm/amd/display: Use pr_debug in DM to prevent dmesg flooding 2021-04-09 16:49:32 -04:00
modules drm/amd/display: avoid to authentication when DEVICE_COUNT=0 2021-04-28 23:35:50 -04:00
Kconfig drm/amd/display: Support crc on specific region 2021-03-05 15:11:47 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO