summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2019-06-11 07:54:32 +0300
committerBen Skeggs <bskeggs@redhat.com>2019-08-23 05:55:32 +0300
commit2c7442ea17f32a9d6eb8c6672478e7a6fafd4631 (patch)
tree304f7646a89a57cfd33b1ae513546f915912abda /drivers/gpu/drm/nouveau
parentaf364a447b4ac34c719751fdec5dbdd74d888c3b (diff)
downloadlinux-2c7442ea17f32a9d6eb8c6672478e7a6fafd4631.tar.xz
drm/nouveau/kms/gv100-: use premultiplied alpha blending between planes
This is apparently the assumed default behaviour when blend properties are absent. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r--drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c b/drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
index 826d1d760d3a..8a4f0e436be6 100644
--- 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, 0x00000011);
+ evo_data(push, 0x000000ff);
+ evo_data(push, 0x00007722);
evo_data(push, 0xffff0000);
evo_data(push, 0xffff0000);
evo_data(push, 0xffff0000);