diff options
author | Melissa Wen <mwen@igalia.com> | 2025-05-14 00:38:17 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-05-22 19:02:28 +0300 |
commit | f9f403218e1ca947a1a017be01da6ae7fb637eba (patch) | |
tree | bca4e412009bc971a6efa2de2e63a38de36ed1ea /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | dd64956685fa48358c4152d952070c8c073e5f89 (diff) | |
download | linux-f9f403218e1ca947a1a017be01da6ae7fb637eba.tar.xz |
drm/amd/display: only collect data if debug gamut_remap is available
Color gamut_remap state log may be not available for some hw versions,
so prevent null pointer dereference by checking if there is a function
to collect data for this hw version.
Signed-off-by: Melissa Wen <mwen@igalia.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions