Skip to content

anv: Put MOCS in the correct location

Kenneth Graunke requested to merge kwg/mesa:anv-mocs into master

My patch to switch from struct-based MOCS to numeric MOCS accidentally divided all MOCS entries by 2 in the Vulkan driver.

MOCS on Gen9+ is just an array index into a table. But in the hardware packets, the index starts at bit 1. So we need to shift it.

Fixes: 0b44644c (genxml: Consistently use a numeric "MOCS" field)

Merge request reports