diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2019-05-29 09:39:53 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2019-08-23 05:55:31 +0300 |
commit | ebf8ca6b3d6d7310646b092f3d5219abe2858e81 (patch) | |
tree | bfd355524dae9afab10116d5883fd31552851f9a /drivers/gpu/drm/nouveau/dispnv50 | |
parent | 1e339ab2ac3c769c1b06b9fb7d532f8495ebc56d (diff) | |
download | linux-ebf8ca6b3d6d7310646b092f3d5219abe2858e81.tar.xz |
drm/nouveau/kms/nv50-: disable input lut harder
Under some circumstances, it could be left enabled when it shouldn't be.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50')
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv50/wndw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/wndw.c b/drivers/gpu/drm/nouveau/dispnv50/wndw.c index 5a8af9a0479a..0aaa7e0013f6 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/wndw.c +++ b/drivers/gpu/drm/nouveau/dispnv50/wndw.c @@ -336,6 +336,8 @@ nv50_wndw_atomic_check_lut(struct nv50_wndw *wndw, asyw->xlut.handle = wndw->wndw.vram.handle; asyw->xlut.i.buffer = !asyw->xlut.i.buffer; asyw->set.xlut = true; + } else { + asyw->clr.xlut = armw->xlut.handle != 0; } /* Handle setting base SET_OUTPUT_LUT_LO_ENABLE_USE_CORE_LUT. */ |