linux_dsm_epyc7002/drivers/gpu/drm/amd/display/modules
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
..
color drm/amd/display: Fix for NULL ramp pointer crashing driver 2019-01-14 15:40:00 -05:00
freesync drm/amd/display: Use 100 Hz precision for pipe pixel clocks 2019-01-14 15:04:39 -05:00
inc drm/amd/display: Info frame cleanup 2018-11-30 12:02:28 -05:00
info_packet drm/amd/display: Info frame cleanup 2018-11-30 12:02:28 -05:00
power drm/amd/display: Redefine DMCU_SCRATCH to identify DMCU state 2019-01-14 15:39:22 -05:00
stats drm/amd/display: remove redundant null pointer check before kfree 2018-09-26 21:09:12 -05:00