drm/nouveau/kms/tu102-: disable input lut when input is already FP16
authorBen Skeggs <bskeggs@redhat.com>
Wed, 29 May 2019 05:44:57 +0000 (15:44 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 23 Aug 2019 02:55:31 +0000 (12:55 +1000)
commit1e339ab2ac3c769c1b06b9fb7d532f8495ebc56d
tree51371c5182d6dff6e1a6ab95b8475e0a459134d5
parent0446f48cb53d0fa2e122504ce235fcb25b1e2a19
drm/nouveau/kms/tu102-: disable input lut when input is already FP16

On Turing, an input LUT is required to transform inputs in fixed-point
formats to FP16 for the internal display pipe.  We provide an identity
mapping whenever a window is enabled for this reason.

HW has error checks to ensure when the input is already FP16, that the
input LUT is also disabled.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/wndw.c