Re: [PATCH i-g-t v4 6/6] tests/kms_ccs: Test case for wrong aux buffer stride size

Ville Syrjälä
2017-10-30T15:59:30Z

On Tue, Oct 03, 2017 at 01:57:13PM +0300, Arkadiusz Hiler wrote:
> On Wed, Sep 27, 2017 at 03:34:19PM -0300, Gabriel Krisman Bertazi wrote:
> > Two scenarios tested:
> > - unaligned stride
> > - Stride too small
> >
> > Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
>
> Fails on APL
> https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_260/shard-apl2/igt@kms_ccs@pipe-A-bad-aux-stride.html
> https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_260/shard-apl8/igt@kms_ccs@pipe-B-bad-aux-stride.html
>
> Works just fine on KBL though
> https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_260/shard-kbl1/igt@kms_ccs@pipe-A-bad-aux-stride.html
> https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_260/shard-kbl1/igt@kms_ccs@pipe-B-bad-aux-stride.html

Looks like the test has the addfb2 vs. render_fb() order wrong. The bad
stride could make render_fb/ccs() do somehting unexpected.

--
Ville Syrjälä
Intel OTC