Re: [Intel-gfx] [v2] drm/i915: Enable hw workaround to bypass alpha

2018-06-22 Thread Lankhorst, Maarten
tor 2018-06-21 klockan 14:09 -0700 skrev Radhakrishna Sripada: > On Thu, Jun 21, 2018 at 08:43:56PM +0530, Vandita Kulkarni wrote: > > Alpha blending with alpha 0 and 0xff passes through > > alpha math and rounding logic causing differences > > compared to fully transparent or opaque plane,resultin

Re: [Intel-gfx] [v2] drm/i915: Enable hw workaround to bypass alpha

2018-06-22 Thread Kulkarni, Vandita
> -Original Message- > From: Sripada, Radhakrishna > Sent: Friday, June 22, 2018 2:39 AM > To: Kulkarni, Vandita > Cc: intel-gfx@lists.freedesktop.org; Lankhorst, Maarten > > Subject: Re: [Intel-gfx] [v2] drm/i915: Enable hw workaround to bypass > alpha > &

Re: [Intel-gfx] [v2] drm/i915: Enable hw workaround to bypass alpha

2018-06-21 Thread Radhakrishna Sripada
On Thu, Jun 21, 2018 at 08:43:56PM +0530, Vandita Kulkarni wrote: > Alpha blending with alpha 0 and 0xff passes through > alpha math and rounding logic causing differences > compared to fully transparent or opaque plane,resulting > in CRC mismatch. > This WA on icl and above enables hardware to byp

[Intel-gfx] [v2] drm/i915: Enable hw workaround to bypass alpha

2018-06-21 Thread Vandita Kulkarni
Alpha blending with alpha 0 and 0xff passes through alpha math and rounding logic causing differences compared to fully transparent or opaque plane,resulting in CRC mismatch. This WA on icl and above enables hardware to bypass alpha math and rounding for per pixel alpha values of 00 and 0xff v2: F