]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/amd/display: Null ptr check for set_sdr_white_level
authorKrunoslav Kovac <Krunoslav.Kovac@amd.com>
Tue, 10 Jul 2018 20:04:05 +0000 (16:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Jul 2018 21:11:51 +0000 (16:11 -0500)
commitddb85fcd839cab0ac46a44d47c4f345dad4c2cb1
tree04d1c8ec9643a5380f958ff4490b1700d92d6e6c
parent4a7d1d123ddb8c0b57e9beacee03ffcc9b55555a
drm/amd/display: Null ptr check for set_sdr_white_level

[Why&How]
Cursor boosting can only be done on DCN+
Check for nullptr since DCE doesn't implement it.

Signed-off-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Reviewed-by: Sivapiriyan Kumarasamy <Sivapiriyan.Kumarasamy@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_stream.c