FAILED: patch "[PATCH] drm/i915: Correctly set SFC capability for video engines" failed to apply to 5.4-stable tree
Subsystems (3)
[email protected]
maintainerThe patch below does not apply to the 5.4-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From 5ce6861d36ed5207aff9e5eead4c7cc38a986586 Mon Sep 17 00:00:00 2001
From: Venkata Sandeep Dhanalakota <[email protected]>
Date: Thu, 5 Nov 2020 17:18:42 -0800
Subject: [PATCH] drm/i915: Correctly set SFC capability for video engines
SFC capability of video engines is not set correctly because i915 is testing for incorrect bits.
Fixes c5d3e39caa45 ("drm/i915: Engine discovery query")
Cc Matt Roper <[email protected]>
Cc Tvrtko Ursulin <[email protected]>
Signed-off-by Venkata Sandeep Dhanalakota <[email protected]>
Signed-off-by Daniele Ceraolo Spurio <[email protected]>
Reviewed-by Tvrtko Ursulin <[email protected]>
Cc <[email protected]> # v5.3+
Signed-off-by Chris Wilson <[email protected]>
(cherry picked from commit ad18fa0f5f052046cad96fee762b5c64f42dd86a)
Signed-off-by Rodrigo Vivi <[email protected]>
drivers/gpu/drm/i915/gt/intel_engine_cs.c +2 -1
@@ -371,7 +371,8 @@ static void __setup_engine_capabilities(struct intel_engine_cs *engine)* instances. */ if ((INTEL_GEN (i915) >=11 && - engine->gt->info.vdbox_sfc_access & engine->mask) || + (engine->gt->info.vdbox_sfc_access & +BIT (engine->instance))) || (INTEL_GEN (i915) >=9 && engine->instance ==0 )) engine->uabi_capabilities |=I915_VIDEO_AND_ENHANCE_CLASS_CAPABILITY_SFC ;