Re: [Intel-gfx] [PATCH i-g-t 2/2] igt: Add VC4 purgeable BO tests

2017-09-27 Thread Eric Anholt
Boris Brezillon writes: > Signed-off-by: Boris Brezillon Another test we should have: Queue up a big rendering job (Copy a 2048x2048@32bpp BO?), mark the source purgeable, force the purge, wait for rendering, make sure we

Re: [Intel-gfx] [PATCH i-g-t 2/2] igt: Add VC4 purgeable BO tests

2017-09-27 Thread Eric Anholt
Boris Brezillon writes: > On Wed, 27 Sep 2017 13:50:30 +0100 > Chris Wilson wrote: > >> Quoting Boris Brezillon (2017-09-27 13:41:41) >> > Hi Chris, >> > >> > On Wed, 27 Sep 2017 13:07:28 +0100 >> > Chris Wilson

Re: [Intel-gfx] [PATCH i-g-t 2/2] igt: Add VC4 purgeable BO tests

2017-09-27 Thread Boris Brezillon
On Wed, 27 Sep 2017 13:50:30 +0100 Chris Wilson wrote: > Quoting Boris Brezillon (2017-09-27 13:41:41) > > Hi Chris, > > > > On Wed, 27 Sep 2017 13:07:28 +0100 > > Chris Wilson wrote: > > > > > Quoting Boris Brezillon (2017-09-27 12:51:18)

Re: [Intel-gfx] [PATCH i-g-t 2/2] igt: Add VC4 purgeable BO tests

2017-09-27 Thread Chris Wilson
Quoting Boris Brezillon (2017-09-27 13:41:41) > Hi Chris, > > On Wed, 27 Sep 2017 13:07:28 +0100 > Chris Wilson wrote: > > > Quoting Boris Brezillon (2017-09-27 12:51:18) > > > +static void igt_vc4_trigger_purge(int fd) > > > +{ > > > > May I suggest a

Re: [Intel-gfx] [PATCH i-g-t 2/2] igt: Add VC4 purgeable BO tests

2017-09-27 Thread Boris Brezillon
On Wed, 27 Sep 2017 14:57:05 +0300 Petri Latvala wrote: > On Wed, Sep 27, 2017 at 01:51:18PM +0200, Boris Brezillon wrote: > > Signed-off-by: Boris Brezillon > > --- > > tests/Makefile.sources | 1 + > > tests/vc4_purgeable_bo.c

Re: [Intel-gfx] [PATCH i-g-t 2/2] igt: Add VC4 purgeable BO tests

2017-09-27 Thread Boris Brezillon
Hi Chris, On Wed, 27 Sep 2017 13:07:28 +0100 Chris Wilson wrote: > Quoting Boris Brezillon (2017-09-27 12:51:18) > > Signed-off-by: Boris Brezillon > > --- > > tests/Makefile.sources | 1 + > > tests/vc4_purgeable_bo.c | 274 >

Re: [Intel-gfx] [PATCH i-g-t 2/2] igt: Add VC4 purgeable BO tests

2017-09-27 Thread Chris Wilson
Quoting Boris Brezillon (2017-09-27 12:51:18) > Signed-off-by: Boris Brezillon > --- > tests/Makefile.sources | 1 + > tests/vc4_purgeable_bo.c | 274 > +++ > 2 files changed, 275 insertions(+) > create mode

Re: [Intel-gfx] [PATCH i-g-t 2/2] igt: Add VC4 purgeable BO tests

2017-09-27 Thread Petri Latvala
On Wed, Sep 27, 2017 at 01:51:18PM +0200, Boris Brezillon wrote: > Signed-off-by: Boris Brezillon > --- > tests/Makefile.sources | 1 + > tests/vc4_purgeable_bo.c | 274 > +++ > 2 files changed, 275

[Intel-gfx] [PATCH i-g-t 2/2] igt: Add VC4 purgeable BO tests

2017-09-27 Thread Boris Brezillon
Signed-off-by: Boris Brezillon --- tests/Makefile.sources | 1 + tests/vc4_purgeable_bo.c | 274 +++ 2 files changed, 275 insertions(+) create mode 100644 tests/vc4_purgeable_bo.c diff --git