anv: Use mocs settings from isl_dev.
v2: Remove device->default_mocs and external_mocs (Jason). Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
@@ -164,13 +164,6 @@ genX(emit_slice_hashing_state)(struct anv_device *device,
|
||||
VkResult
|
||||
genX(init_device_state)(struct anv_device *device)
|
||||
{
|
||||
device->default_mocs = GENX(MOCS);
|
||||
#if GEN_GEN >= 8
|
||||
device->external_mocs = GENX(EXTERNAL_MOCS);
|
||||
#else
|
||||
device->external_mocs = device->default_mocs;
|
||||
#endif
|
||||
|
||||
struct anv_batch batch;
|
||||
|
||||
uint32_t cmds[64];
|
||||
|
Reference in New Issue
Block a user