mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
Peikang Zhang 0062972b9d drm/amd/display: System crashes when add_ptb_to_table() gets called
[Why]
Unused VMIDs were not evicted correctly

[How]
1. evict_vmids() logic was fixed;
2. Added boundary check for add_ptb_to_table() and
   clear_entry_from_vmid_table() to avoid crash caused by array out of
   boundary;
3. For mod_vmid_get_for_ptb(), vimd is changed from unsigned to signed
   due to vimd is signed.

Signed-off-by: Peikang Zhang <peikang.zhang@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-02-25 11:03:54 -05:00
..
amdgpu_dm drm/amd/display: Add dmcu f/w loading for NV12 2020-02-25 11:03:32 -05:00
dc drm/amd/display: do not force UCLK DPM to stay at highest state during display off in DCN2 2020-02-25 11:03:39 -05:00
dmub drm/amd/display: Wait for DMCUB to finish loading before executing commands 2020-02-25 11:03:15 -05:00
include drm/amd/display: Add AUX backlight register 2020-02-11 11:50:00 -05:00
modules drm/amd/display: System crashes when add_ptb_to_table() gets called 2020-02-25 11:03:54 -05:00
Kconfig amdgpu: Enable initial DCN support on POWER 2019-12-18 16:09:05 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00