drm/xe/mocs: Determine MCR separately for primary/media GT in kunit test
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 14 Mar 2024 19:58:26 +0000 (12:58 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 14 Mar 2024 22:46:15 +0000 (15:46 -0700)
commit00e9062e8d2037c3ac5900eab7a504aa17cab406
treef8f13561d844f0956327d5c787561221e89d32ac
parentcc244ce531d4ef013d0d87e11141bb94d4235828
drm/xe/mocs: Determine MCR separately for primary/media GT in kunit test

Although MOCS registers became multicast in graphics version 12.50 on
the primary GT, this transition did not happen until version 20 on the
media GT.  Considering each GT independently is mostly important for
MTL/ARL where the Xe_LPM+ IP has non-MCR MOCS registers, even though
Xe_LPG IP has MCR registers.

Bspec: 67789, 71186
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240314195825.3226856-3-matthew.d.roper@intel.com
drivers/gpu/drm/xe/tests/xe_mocs.c
drivers/gpu/drm/xe/xe_mocs.c