Update XY_COLOR_BLT command for Broadwell.
v2: stash devid and remove ugly double allocation. (by Chris).
v3: fix inverted blt command size and stash fd, devid and intel_gen.
v4: improved len calculation and noop between blt commands. (by Chris).
Cc: Chris Wilson ch...@chris-wilson.co.uk>
Signed-
On Fri, Feb 07, 2014 at 02:04:56PM -0200, Rodrigo Vivi wrote:
> >> for (i = 0; i < 20; i++) {
> >> - *b++ = XY_COLOR_BLT_CMD_NOLEN | 4 |
> >> - COLOR_BLT_WRITE_ALPHA | XY_COLOR_BLT_WRITE_RGB;
> >> + if (data->intel_gen >= 8) {
> >> +
On Fri, Feb 7, 2014 at 7:51 AM, Chris Wilson wrote:
> On Thu, Feb 06, 2014 at 07:46:38PM -0200, Rodrigo Vivi wrote:
>> Update XY_COLOR_BLT command for Broadwell.
>>
>> v2: stash devid and remove ugly double allocation. (by Chris).
>> v3: fix inverted blt command size and stash fd, devid and intel_
On Thu, Feb 06, 2014 at 07:46:38PM -0200, Rodrigo Vivi wrote:
> Update XY_COLOR_BLT command for Broadwell.
>
> v2: stash devid and remove ugly double allocation. (by Chris).
> v3: fix inverted blt command size and stash fd, devid and intel_gen.
>
> Cc: Chris Wilson ch...@chris-wilson.co.uk>
> Sig
Update XY_COLOR_BLT command for Broadwell.
v2: stash devid and remove ugly double allocation. (by Chris).
v3: fix inverted blt command size and stash fd, devid and intel_gen.
Cc: Chris Wilson ch...@chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi
---
tests/gem_gtt_hog.c | 59
On Thu, Feb 06, 2014 at 04:19:08PM -0200, Rodrigo Vivi wrote:
> Update XY_COLOR_BLT command for Broadwell.
>
> v2: stash devid and remove ugly double allocation. (by Chris).
>
> Cc: Chris Wilson ch...@chris-wilson.co.uk>
> Signed-off-by: Rodrigo Vivi
> ---
> tests/gem_gtt_hog.c | 24 +++
Update XY_COLOR_BLT command for Broadwell.
v2: stash devid and remove ugly double allocation. (by Chris).
Cc: Chris Wilson ch...@chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi
---
tests/gem_gtt_hog.c | 24 +---
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/