diff options
author | 2020-03-03 19:33:12 +0200 | |
---|---|---|
committer | 2020-03-09 22:11:36 +0200 | |
commit | 62153bdd66f281fcd2318401684a7267d8ecddd9 (patch) | |
tree | 8f510e2d989ad7e49951671f482643062ffd0fb1 /drivers/gpu/drm/i915/i915_request.c | |
parent | drm/i915: Refactor LUT read functions (diff) | |
download | wireguard-linux-62153bdd66f281fcd2318401684a7267d8ecddd9.tar.xz wireguard-linux-62153bdd66f281fcd2318401684a7267d8ecddd9.zip |
drm/i915: Fix readout of PIPEGCMAX
PIPEGCMAX is a 11.6 (or 1.16 if you will) value. Ie. it can
represent a value of 1.0 when the maximum we can store in the
software LUT is 0.ffff. Clamp the value so that it gets
saturated to the max the uapi supports.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200303173313.28117-9-ville.syrjala@linux.intel.com
Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions