mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
r600g: fix eg OQ properly.
the context init is separate for these gpus.
This commit is contained in:
parent
26a4c1cb65
commit
ea5ede2178
2 changed files with 3 additions and 5 deletions
|
|
@ -621,6 +621,8 @@ int evergreen_context_init(struct r600_context *ctx, struct radeon *radeon)
|
|||
/* save 16dwords space for fence mecanism */
|
||||
ctx->pm4_ndwords -= 16;
|
||||
|
||||
ctx->max_db = 8;
|
||||
|
||||
LIST_INITHEAD(&ctx->fenced_bo);
|
||||
|
||||
/* init dirty list */
|
||||
|
|
|
|||
|
|
@ -752,11 +752,7 @@ int r600_context_init(struct r600_context *ctx, struct radeon *radeon)
|
|||
/* init dirty list */
|
||||
LIST_INITHEAD(&ctx->dirty);
|
||||
|
||||
/* TODO update this value correctly */
|
||||
if (radeon->family >= CHIP_CEDAR)
|
||||
ctx->max_db = 8;
|
||||
else
|
||||
ctx->max_db = 4;
|
||||
ctx->max_db = 4;
|
||||
|
||||
return 0;
|
||||
out_err:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue