Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i915/skl: Add the Skylake PCI ids

v2: Squash in 2nd patch from Damien for more ids (Daniel)
v3: info->has*ring -> info->ring_mask conversion. Also add VEBOX support.
v4: Fold in update from Damien
v5: Rebase and add GEN_DEFAULT_PIPEOFFSETS
v6: Add more PCI ID (Vandana)
v7: Rebase and add IVB_CURSOR_OFFSETS
v8: Renamed the macro from _PCI_IDS to _IDS for consistency

Reviewed-by: Thomas Wood <thomas.wood@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Vandana Kannan <vandana.kannan@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

authored by

Damien Lespiau and committed by
Daniel Vetter
72bbf0af d743ecf3

+30 -1
+13 -1
drivers/gpu/drm/i915/i915_drv.c
··· 356 356 CURSOR_OFFSETS, 357 357 }; 358 358 359 + static const struct intel_device_info intel_skylake_info = { 360 + .is_preliminary = 1, 361 + .gen = 9, .num_pipes = 3, 362 + .need_gfx_hws = 1, .has_hotplug = 1, 363 + .ring_mask = RENDER_RING | BSD_RING | BLT_RING | VEBOX_RING, 364 + .has_llc = 1, 365 + .has_ddi = 1, 366 + GEN_DEFAULT_PIPEOFFSETS, 367 + IVB_CURSOR_OFFSETS, 368 + }; 369 + 359 370 /* 360 371 * Make sure any device matches here are from most specific to most 361 372 * general. For example, since the Quanta match is based on the subsystem ··· 403 392 INTEL_BDW_GT12D_IDS(&intel_broadwell_d_info), \ 404 393 INTEL_BDW_GT3M_IDS(&intel_broadwell_gt3m_info), \ 405 394 INTEL_BDW_GT3D_IDS(&intel_broadwell_gt3d_info), \ 406 - INTEL_CHV_IDS(&intel_cherryview_info) 395 + INTEL_CHV_IDS(&intel_cherryview_info), \ 396 + INTEL_SKL_IDS(&intel_skylake_info) 407 397 408 398 static const struct pci_device_id pciidlist[] = { /* aka */ 409 399 INTEL_PCI_IDS,
+17
include/drm/i915_pciids.h
··· 259 259 INTEL_VGA_DEVICE(0x22b2, info), \ 260 260 INTEL_VGA_DEVICE(0x22b3, info) 261 261 262 + #define INTEL_SKL_IDS(info) \ 263 + INTEL_VGA_DEVICE(0x1916, info), /* ULT GT2 */ \ 264 + INTEL_VGA_DEVICE(0x1906, info), /* ULT GT1 */ \ 265 + INTEL_VGA_DEVICE(0x1926, info), /* ULT GT3 */ \ 266 + INTEL_VGA_DEVICE(0x1921, info), /* ULT GT2F */ \ 267 + INTEL_VGA_DEVICE(0x190E, info), /* ULX GT1 */ \ 268 + INTEL_VGA_DEVICE(0x191E, info), /* ULX GT2 */ \ 269 + INTEL_VGA_DEVICE(0x1912, info), /* DT GT2 */ \ 270 + INTEL_VGA_DEVICE(0x1902, info), /* DT GT1 */ \ 271 + INTEL_VGA_DEVICE(0x191B, info), /* Halo GT2 */ \ 272 + INTEL_VGA_DEVICE(0x192B, info), /* Halo GT3 */ \ 273 + INTEL_VGA_DEVICE(0x190B, info), /* Halo GT1 */ \ 274 + INTEL_VGA_DEVICE(0x191A, info), /* SRV GT2 */ \ 275 + INTEL_VGA_DEVICE(0x192A, info), /* SRV GT3 */ \ 276 + INTEL_VGA_DEVICE(0x190A, info), /* SRV GT1 */ \ 277 + INTEL_VGA_DEVICE(0x191D, info) /* WKS GT2 */ 278 + 262 279 #endif /* _I915_PCIIDS_H */