mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
crocus: Set MOCS for most state base addresses on pre-Gen8
We were only setting MOCS for dynamic state, surface state, instruction, and indirect base addresses on Gen8+. We should set them on Gen6+. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13480>
This commit is contained in:
parent
dfe455b6df
commit
51f843ad60
1 changed files with 1 additions and 1 deletions
|
|
@ -5540,11 +5540,11 @@ crocus_update_surface_base_address(struct crocus_batch *batch)
|
|||
*/
|
||||
sba.GeneralStateMOCS = mocs;
|
||||
sba.StatelessDataPortAccessMOCS = mocs;
|
||||
#if GFX_VER == 8
|
||||
sba.DynamicStateMOCS = mocs;
|
||||
sba.IndirectObjectMOCS = mocs;
|
||||
sba.InstructionMOCS = mocs;
|
||||
sba.SurfaceStateMOCS = mocs;
|
||||
#if GFX_VER == 8
|
||||
sba.GeneralStateBufferSize = 0xfffff;
|
||||
sba.IndirectObjectBufferSize = 0xfffff;
|
||||
sba.InstructionBufferSize = 0xfffff;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue