mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-02 02:48:01 +02:00
intel/chv: Add Cherryview PCI IDs
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
parent
e6ec4c8851
commit
bb1f4263b7
1 changed files with 11 additions and 1 deletions
|
|
@ -160,6 +160,11 @@
|
|||
#define PCI_CHIP_VALLEYVIEW_2 0x0f32
|
||||
#define PCI_CHIP_VALLEYVIEW_3 0x0f33
|
||||
|
||||
#define PCI_CHIP_CHERRYVIEW_0 0x22b0
|
||||
#define PCI_CHIP_CHERRYVIEW_1 0x22b1
|
||||
#define PCI_CHIP_CHERRYVIEW_2 0x22b2
|
||||
#define PCI_CHIP_CHERRYVIEW_3 0x22b3
|
||||
|
||||
#define IS_MOBILE(devid) ((devid) == PCI_CHIP_I855_GM || \
|
||||
(devid) == PCI_CHIP_I915_GM || \
|
||||
(devid) == PCI_CHIP_I945_GM || \
|
||||
|
|
@ -311,8 +316,13 @@
|
|||
((devid & 0x000f) == BDW_WORKSTATION) ? 1 : \
|
||||
((devid & 0x000f) == BDW_ULX) ? 1 : 0)
|
||||
|
||||
#define IS_CHERRYVIEW(devid) ((devid) == PCI_CHIP_CHERRYVIEW_0 || \
|
||||
(devid) == PCI_CHIP_CHERRYVIEW_1 || \
|
||||
(devid) == PCI_CHIP_CHERRYVIEW_2 || \
|
||||
(devid) == PCI_CHIP_CHERRYVIEW_3)
|
||||
|
||||
#define IS_GEN8(devid) IS_BROADWELL(devid)
|
||||
#define IS_GEN8(devid) (IS_BROADWELL(devid) || \
|
||||
IS_CHERRYVIEW(devid))
|
||||
|
||||
#define IS_9XX(dev) (IS_GEN3(dev) || \
|
||||
IS_GEN4(dev) || \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue