File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2339,6 +2339,7 @@ struct drm_i915_cmd_table {
2339
2339
})
2340
2340
#define INTEL_INFO (p ) (&__I915__(p)->info)
2341
2341
#define INTEL_DEVID (p ) (INTEL_INFO(p)->device_id)
2342
+ #define INTEL_REVID (p ) (__I915__(p)->dev->pdev->revision)
2342
2343
2343
2344
#define IS_I830 (dev ) (INTEL_DEVID(dev) == 0x3577)
2344
2345
#define IS_845G (dev ) (INTEL_DEVID(dev) == 0x2562)
@@ -2387,6 +2388,11 @@ struct drm_i915_cmd_table {
2387
2388
INTEL_DEVID(dev) == 0x0A1E)
2388
2389
#define IS_PRELIMINARY_HW (intel_info ) ((intel_info)->is_preliminary)
2389
2390
2391
+ #define SKL_REVID_A0 (0x0)
2392
+ #define SKL_REVID_B0 (0x1)
2393
+ #define SKL_REVID_C0 (0x2)
2394
+ #define SKL_REVID_D0 (0x3)
2395
+
2390
2396
/*
2391
2397
* The genX designation typically refers to the render engine, so render
2392
2398
* capability related checks should use IS_GEN, while display and other checks
You can’t perform that action at this time.
0 commit comments