diff options
author | Wladimir J. van der Laan <[email protected]> | 2017-11-18 10:44:31 +0100 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2017-11-30 07:27:57 +0100 |
commit | dd3a04c2c3303e47beff0d8f66e7501790e845ed (patch) | |
tree | 1216336bcb9df0cb94a48f66469fd07abfdeb257 /src/gallium/drivers/etnaviv/etnaviv_screen.c | |
parent | 079bbaec0c7a0ef984ce502fb86f980cbe8577f8 (diff) |
etnaviv: GC7000: BLT engine blitting support
Add an implemenation of key clear_blit functions using the BLT engine
that replaced the RS on GC7000.
Also set level->size correctly for imported resources. This is important
for the BLT resolve-in-place path to work for them.
Signed-off-by: Wladimir J. van der Laan <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_screen.c')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c index 51cb513c1a7..1280d46982f 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_screen.c +++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c @@ -818,6 +818,8 @@ etna_get_specs(struct etna_screen *screen) screen->specs.tex_astc = VIV_FEATURE(screen, chipMinorFeatures4, TEXTURE_ASTC); + screen->specs.use_blt = VIV_FEATURE(screen, chipMinorFeatures5, BLT_ENGINE); + return true; fail: |