[PATCH v2 3/3] REVIEW: Full tree diff against origin/internal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Auto-generated diff between origin/internal..internal
---
 drivers/gpu/drm/i915/gt/intel_engine_cs.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_engine_cs.c b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
index bbaf1caca607f..ddbde96311eb1 100644
--- a/drivers/gpu/drm/i915/gt/intel_engine_cs.c
+++ b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
@@ -1028,17 +1028,17 @@ static void populate_logical_ids(struct intel_gt *gt, u8 *logical_ids,
 static void setup_logical_ids(struct intel_gt *gt, u8 *logical_ids, u8 class)
 {
 	/*
-	 * As of right now, only a few platforms' video decode boxes have
-	 * non-standard logical mappings, hence the specical cases. These
-	 * mappings are defined in bspec 48028, 48075 and are needed to use the
-	 * split-frame feature.
+	 * Logical to physical mapping is needed for proper support
+	 * to split-frame feature.
 	 */
 	if (HAS_SLIM_VDBOX(gt->i915) && class == VIDEO_DECODE_CLASS) {
 		static const u8 map[] = { 0, 2, 1 };
 
 		populate_logical_ids(gt, logical_ids, class,
 				     map, ARRAY_SIZE(map));
-	} else if (IS_XEHPSDV(gt->i915) && class == VIDEO_DECODE_CLASS) {
+
+	} else if (MEDIA_VER_FULL(gt->i915) >= IP_VER(12, 50) &&
+	    class == VIDEO_DECODE_CLASS) {
 		static const u8 map[] = { 0, 2, 4, 6, 1, 3, 5, 7 };
 
 		populate_logical_ids(gt, logical_ids, class,
--
git-pile 0.99-dev




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux