aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
diff options
context:
space:
mode:
authorPeikang Zhang <[email protected]>2020-02-07 21:53:28 +0000
committerAlex Deucher <[email protected]>2020-02-25 16:03:54 +0000
commit0062972b9d9f888d0273c6496769d02e8f509135 (patch)
treeba1e6accd537dbca70ed54ad1387b12cffd057ee /drivers/gpu/drm/amd/display/modules/freesync/freesync.c
parentdrm/amd/display: do not force UCLK DPM to stay at highest state during displa... (diff)
downloadkernel-0062972b9d9f888d0273c6496769d02e8f509135.tar.gz
kernel-0062972b9d9f888d0273c6496769d02e8f509135.zip
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 <[email protected]> Reviewed-by: Aric Cyr <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Acked-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions