Commit ebf8ca6b authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/kms/nv50-: disable input lut harder

Under some circumstances, it could be left enabled when it shouldn't be.
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 1e339ab2
...@@ -336,6 +336,8 @@ nv50_wndw_atomic_check_lut(struct nv50_wndw *wndw, ...@@ -336,6 +336,8 @@ nv50_wndw_atomic_check_lut(struct nv50_wndw *wndw,
asyw->xlut.handle = wndw->wndw.vram.handle; asyw->xlut.handle = wndw->wndw.vram.handle;
asyw->xlut.i.buffer = !asyw->xlut.i.buffer; asyw->xlut.i.buffer = !asyw->xlut.i.buffer;
asyw->set.xlut = true; asyw->set.xlut = true;
} else {
asyw->clr.xlut = armw->xlut.handle != 0;
} }
/* Handle setting base SET_OUTPUT_LUT_LO_ENABLE_USE_CORE_LUT. */ /* Handle setting base SET_OUTPUT_LUT_LO_ENABLE_USE_CORE_LUT. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment