diff options
| author | Ville Syrjälä <[email protected]> | 2023-10-13 13:14:01 +0000 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2023-11-23 13:11:47 +0000 |
| commit | 5d76c8163f09cfee7dbc1870a1154c2ca443528b (patch) | |
| tree | 009d6fb6c74ab919895d85dee25dfa60dde42491 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | drm/i915: Adjust LUT rounding rules (diff) | |
| download | kernel-5d76c8163f09cfee7dbc1870a1154c2ca443528b.tar.gz kernel-5d76c8163f09cfee7dbc1870a1154c2ca443528b.zip | |
drm/i915: s/clamp()/min()/ in i965_lut_11p6_max_pack()
Use min() instead of clamp() since the color values
involved are unsigned. No functional changes.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Chaitanya Kumar Borah <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
