linux_dsm_epyc7002/drivers/gpu/drm/amd/display
Nicholas Kazlauskas d652509e7a drm/amd/display: Check ramp != NULL before applying lut1d for degamma
[Why]
A NULL ramp is a valid configuration for passing into
mod_color_calculate_degamma_params but we'll hit a NULL pointer if we do
so.

We need this in order to get the right transfer function to do degamma
on NV12 formats where we aren't supplied with a custom user degamma.

[How]
Add the NULL check.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Zhan Liu <Zhan.Liu@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-04-22 18:11:47 -04:00
..
amdgpu_dm drm/amd/display: Unify psr feature flags 2020-04-22 18:11:47 -04:00
dc drm/amd/display: Unify psr feature flags 2020-04-22 18:11:47 -04:00
dmub drm/amd/display: Unify psr feature flags 2020-04-22 18:11:47 -04:00
include drm/amd/display: query hdcp capability during link detect 2020-04-09 10:43:17 -04:00
modules drm/amd/display: Check ramp != NULL before applying lut1d for degamma 2020-04-22 18:11:47 -04:00
Kconfig amdgpu: Enable initial DCN support on POWER 2019-12-18 16:09:05 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO