diff options
author | Rob Clark <[email protected]> | 2013-12-07 08:47:10 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2013-12-07 09:37:24 -0500 |
commit | a1d808638de026d07d16161b432df25afefdd959 (patch) | |
tree | eb7a24bc6ef07d255ee6bc6d7af5c9e842ae588d /src/gallium/drivers/freedreno/a3xx | |
parent | d36ae204d5080a8dd83acf63575660d365d51dad (diff) |
freedreno/a3xx: add adreno 330 support
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a3xx')
-rw-r--r-- | src/gallium/drivers/freedreno/a3xx/fd3_emit.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_emit.c b/src/gallium/drivers/freedreno/a3xx/fd3_emit.c index b1c0e74a2ee..a8b2df758e3 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_emit.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_emit.c @@ -491,10 +491,12 @@ fd3_emit_restore(struct fd_context *ctx) struct fd_ringbuffer *ring = ctx->ring; int i; - OUT_PKT3(ring, CP_REG_RMW, 3); - OUT_RING(ring, REG_A3XX_RBBM_CLOCK_CTL); - OUT_RING(ring, 0xfffcffff); - OUT_RING(ring, 0x00000000); + if (ctx->screen->gpu_id == 320) { + OUT_PKT3(ring, CP_REG_RMW, 3); + OUT_RING(ring, REG_A3XX_RBBM_CLOCK_CTL); + OUT_RING(ring, 0xfffcffff); + OUT_RING(ring, 0x00000000); + } OUT_PKT3(ring, CP_INVALIDATE_STATE, 1); OUT_RING(ring, 0x00007fff); |