Commit 2c7442ea authored by Ben Skeggs's avatar Ben Skeggs
Browse files

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: default avatarBen Skeggs <bskeggs@redhat.com>
parent af364a44
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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);