[igt-dev] [PATCH i-g-t v2 7/7] tests/gem_render_copy: Add a subtest for AUX_CCS_E

Ville Syrjälä ville.syrjala at linux.intel.com
Fri Jul 6 12:02:00 UTC 2018


On Thu, Jul 05, 2018 at 08:38:29PM +0100, Chris Wilson wrote:
> Quoting Ville Syrjala (2018-07-05 19:28:09)
> > From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> > 
> > Add a new subtest that does renders the test pattern into a
> > compressed buffer. And we'll follow it up with another copy
> > back to an uncompressed buffer so that we also test the
> > capability to sampled from compressed buffers, and also so
> > that we can actually compare the results against the reference
> > image.
> 
> Ok, so CCS is being carried along in an adjacent image allocated just
> after the principle buf. (From the SURFACE_STATE, I expect the HW can
> use any address as compressed storage, so this layout is for
> convenience? I ask because I was thinking that maybe it would be easier
> to have a tiled bo and a separate aux bo.)

Hmm. I guess the render engine doesn't have that annoying "aux must
be above the main surface" limitation of the display engine. So yeah,
we could add a separate aux bo here. But any test involving the
display would need to stick to the one bo apporach.

-- 
Ville Syrjälä
Intel


More information about the igt-dev mailing list