linux_dsm_epyc7002/drivers/gpu/drm/amd
Joshua Aberback 7eb9097541 drm/amd/display: Fix for NULL ramp pointer crashing driver
[Why]
In certain scenarios the ramp parameter come in as NULL, which crashes
because this function doesn't guard properly in the early return.

[How]
- parameter mapUserRamp should be the guard (false means no ramp)
- remove checking ramp in early return

Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>
Reviewed-by: Sivapiriyan Kumarasamy <Sivapiriyan.Kumarasamy@amd.com>
Acked-by: Eryk Brol <Eryk.Brol@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-01-14 15:40:00 -05:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: check if we need to reset at init time (v2) 2019-01-14 15:04:57 -05:00
amdkfd drm/amdkfd: Don't assign dGPUs to APU topology devices 2019-01-14 15:37:33 -05:00
display drm/amd/display: Fix for NULL ramp pointer crashing driver 2019-01-14 15:40:00 -05:00
include drm/amdgpu: Add NBIO SMN headers v2 2019-01-14 15:04:53 -05:00
lib
powerplay drm/amd/powerplay: run acg btc for Vega12 2019-01-14 15:37:43 -05:00