diff options
author | Alex Hung <alex.hung@amd.com> | 2024-06-11 10:43:12 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-27 17:10:38 -0400 |
commit | c53bb80f49a7cea933ccb4b7a458e6983820e9a5 (patch) | |
tree | 8b8ae6d3973f28c7f0d7235f893b19c0e8ebdd0d /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | 9862ef7bae47b9292a38a0a1b30bff7f56d7815b (diff) |
drm/amd/display: Ensure curve to hw translation succeed
[WHAT & HOW]
Check cm3_helper_translate_curve_to_hw_format runs successfully so the
regamma_params is valid and can be used.
Also revmoed two result assignments.
This fixes 2 CHECKED_RETURN UNUSED_VALUE issues reported by Coverity.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions