Patch "drm/i915: add GT number to intel_device_info" has been added to the 4.14-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
drm/i915: add GT number to intel_device_info
to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-i915-add-gt-number-to-intel_device_info.patch
and it can be found in the queue-4.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
0890540e21cf1156b4cf960a4c1c734db4e816f9Mon Sep 17 00:00:00 2001
From: Lionel Landwerlin <[email protected]>
Date: Wed, 30 Aug 2017 17:12:05 +0100
Subject: drm/i915: add GT number to intel_device_info
From: Lionel Landwerlin <[email protected]>
commit 0890540e21cf1156b4cf960a4c1c734db4e816f9 upstream.
Up to Coffeelake we could deduce this GT number from the device ID. This doesn't seem to be the case anymore. This change reorders pciids per GT and adds a gt field to intel_device_info. We set this field on the following platforms :
- SNB/IVB/HSW/BDW/SKL/KBL/CFL/CNL
Before & After :
$ modinfo drivers/gpu/drm/i915/i915.ko | grep ^alias | wc -l 209
v2: Add SNB & IVB (Chris)
v3: Fix compilation error in early-quirks (Lionel)
v4: Fix inconsistency between FEATURE/PLATFORM macros (Ville)
--- drivers/gpu/drm/i915/i915_drv.h | 1 drivers/gpu/drm/i915/i915_pci.c | 193 +++++++++++++++++++++++++++++++--------- include/drm/i915_pciids.h | 152 +++++++++++++++++++------------ 3 files changed, 246 insertions(+), 100 deletions(-)
drivers/gpu/drm/i915/i915_drv.h +1 -0
@@ -842,6 +842,7 @@ struct intel_device_info {u8 gen;u16 gen_mask;enum intel_platform platform; +u8 gt;/* GT number, 0 if undefined */ u8 ring_mask;/* Rings supported by the HW */ u8 num_rings;#define DEFINE_FLAG (name) u8 name:1
drivers/gpu/drm/i915/i915_pci.c +150 -43
285 lines not on this page · raw message
include/drm/i915_pciids.h +95 -57
231 lines not on this page · raw message
Patches currently in stable-queue which might be from [email protected] are
queue-4.14/drm-i915-add-gt-number-to-intel_device_info.patch