drm/xe/mcr: Separate version from engine type selection
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 17 Mar 2023 22:34:41 +0000 (15:34 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:30:20 +0000 (18:30 -0500)
commit436dbd6bffbf895ea151cf21af410ec1978cc10d
treefb5e0bf05528ea6d9ed10f8bf4b3913a5e3109ad
parent2492f4544e6f81c3bb37abdcbc027bf7934b0310
drm/xe/mcr: Separate version from engine type selection

In order to improve readability and make it more future proof,
split the engine type from the graphics/platform checks.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20230317223441.3891073-1-lucas.demarchi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_gt_mcr.c