diff options
| author | Joshua Aberback <[email protected]> | 2018-12-12 19:53:02 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-01-14 15:40:00 -0500 |
| commit | 7eb9097541706a71dfda01e456cae2930f24b10a (patch) | |
| tree | e29f84d8cc2942111ab3830a7abbea01ca70fac3 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | ffb6c1c6c5a12a623205c0d984851ed10dabb75f (diff) | |
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 <[email protected]>
Reviewed-by: Sivapiriyan Kumarasamy <[email protected]>
Acked-by: Eryk Brol <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions