projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af364a4
)
drm/nouveau/kms/gv100-: use premultiplied alpha blending between planes
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 11 Jun 2019 04:54:32 +0000
(14:54 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 23 Aug 2019 02:55:32 +0000
(12:55 +1000)
This is apparently the assumed default behaviour when blend properties
are absent.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
b/drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
index 826d1d760d3a256ece4e38f5c44a78d5939d0e23..8a4f0e436be628508a61ffff5a1070ad36e10eca 100644
(file)
--- a/
drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
+++ b/
drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
@@
-107,10
+107,10
@@
wndwc37e_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw)
asyw->state.crtc_w);
/*XXX: Composition-related stuff. Need to implement properly. */
- evo_mthd(push, 0x02ec,
1
);
+ evo_mthd(push, 0x02ec,
7
);
evo_data(push, (2 - (wndw->id & 1)) << 4);
- evo_
mthd(push, 0x02f4, 5
);
- evo_data(push, 0x0000
0011
);
+ evo_
data(push, 0x000000ff
);
+ evo_data(push, 0x0000
7722
);
evo_data(push, 0xffff0000);
evo_data(push, 0xffff0000);
evo_data(push, 0xffff0000);