diff options
author | Jonathan Marek <[email protected]> | 2019-01-23 17:28:20 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-04-23 17:13:32 +0000 |
commit | 4107e0678a56c457b587a132cd16a78583192059 (patch) | |
tree | 7d95b07b510c2a9ebb0dd6955bf689e4b8dcfc2b /src/gallium/drivers/freedreno/freedreno_screen.c | |
parent | 7f670ca5fd02ba617a95a7cfebaecfde23ea028f (diff) |
freedreno: a2xx: enable batch reordering
Batch reordering on a2xx is now tested and functional.
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_screen.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 1eebefd085e..fdf26390718 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -881,12 +881,11 @@ fd_screen_create(struct fd_device *dev, struct renderonly *ro) screen->num_vsc_pipes = 8; } - /* NOTE: don't enable reordering on a2xx, since completely untested. - * Also, don't enable if we have too old of a kernel to support + /* NOTE: don't enable if we have too old of a kernel to support * growable cmdstream buffers, since memory requirement for cmdstream * buffers would be too much otherwise. */ - if ((screen->gpu_id >= 300) && (fd_device_version(dev) >= FD_VERSION_UNLIMITED_CMDS)) + if (fd_device_version(dev) >= FD_VERSION_UNLIMITED_CMDS) screen->reorder = !(fd_mesa_debug & FD_DBG_INORDER); fd_bc_init(&screen->batch_cache); |