drm/xe/migrate: Use the correct mocs value for the XY_FAST_COLOR_BLT command
The value was previously programmed as zero. Use the uc mocs index that corresponds to what the bspec recommends.
Also add a small utility that converts a mocs index to the format expected by blit commands to better describe what the code does.
v2:
- Fix missing include.
Signed-off-by: Thomas Hellström thomas.hellstrom@linux.intel.com
Edited by Thomas Hellström