diff options
| author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2020-04-02 22:59:44 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2020-04-23 01:11:47 +0300 |
| commit | f1029e7ead9a5f13ef040dfbe1473b975f927b41 (patch) | |
| tree | 89ea13263d3f1e6709194dc55c38cb4673b41ccb /tools/perf/scripts/python/netdev-times.py | |
| parent | 39063de95cfb1d522d111bdba10441bcd5642a43 (diff) | |
| download | linux-f1029e7ead9a5f13ef040dfbe1473b975f927b41.tar.xz | |
drm/amd/display: Avoid NULL pointer in set_backlight when ABM is NULL
[Why]
On ASIC without ABM support (most dGPU) we run into a null pointer
dereference when attempting to set the backlight level.
[How]
This function requires ABM, so fix up the condition to only allow
DMCU to be optional.
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Wyatt Wood <Wyatt.Wood@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
