projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e339ab
)
drm/nouveau/kms/nv50-: disable input lut harder
author
Ben Skeggs
<bskeggs@redhat.com>
Wed, 29 May 2019 06:39:53 +0000
(16:39 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 23 Aug 2019 02:55:31 +0000
(12:55 +1000)
Under some circumstances, it could be left enabled when it shouldn't be.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/wndw.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/dispnv50/wndw.c
b/drivers/gpu/drm/nouveau/dispnv50/wndw.c
index 5a8af9a0479ac087f36ce41583ec1bd82d987ffa..0aaa7e0013f61c8705487dcdb6edf3c6fa038893 100644
(file)
--- 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. */