OSDN Git Service

drm/i915/gt: Use MEDIA_VER() when handling media fuses
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 9 Sep 2022 23:18:15 +0000 (16:18 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 12 Sep 2022 15:42:21 +0000 (08:42 -0700)
commitff21ed39ca68257aebf42b23afcbc2db66dfecde
treea4dfb9501b23434de5e1015c93649f0783c534bc
parent51aec8bf16338e5d7f34ebc33b173b0b9ce20973
drm/i915/gt: Use MEDIA_VER() when handling media fuses

Check for media IP version instead of graphics since this is figuring
out the media engines' configuration. Currently the only platform with
non-matching graphics/media version is Meteor Lake: update the check in
gen11_vdbox_has_sfc() so it considers not only version 12, but also any
later version which then includes that platform.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220909-media-v2-1-6f20f322b4ef@intel.com
drivers/gpu/drm/i915/gt/intel_engine_cs.c