diff options
author | Ville Syrjälä <[email protected]> | 2020-03-03 19:33:12 +0200 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2020-03-09 22:11:36 +0200 |
commit | 62153bdd66f281fcd2318401684a7267d8ecddd9 (patch) | |
tree | 8f510e2d989ad7e49951671f482643062ffd0fb1 /lib/mpi/mpi-mul.c | |
parent | 0ff3b23f0c9b85df195a97277963b9a834389b50 (diff) |
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ä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Swati Sharma <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions