Lines Matching defs:xe

9  * "Adaptation header" to allow i915 display to also build for xe driver.
10 * TODO: refactor i915 and xe so this can cease to exist
42 #define IS_PLATFORM(xe, x) ((xe)->info.platform == x)
94 #define IS_MOBILE(xe) (xe && 0)
96 #define HAS_GMD_ID(xe) GRAPHICS_VERx100(xe) >= 1270
99 #define IS_DISPLAY_STEP(xe, first, last) ({u8 __step = (xe)->info.step.display; first <= __step && __step <= last; })
101 #define IS_LP(xe) (0)
102 #define IS_GEN9_LP(xe) (0)
103 #define IS_GEN9_BC(xe) (0)
105 #define IS_TIGERLAKE_UY(xe) (xe && 0)
106 #define IS_COMETLAKE_ULX(xe) (xe && 0)
107 #define IS_COFFEELAKE_ULX(xe) (xe && 0)
108 #define IS_KABYLAKE_ULX(xe) (xe && 0)
109 #define IS_SKYLAKE_ULX(xe) (xe && 0)
110 #define IS_HASWELL_ULX(xe) (xe && 0)
111 #define IS_COMETLAKE_ULT(xe) (xe && 0)
112 #define IS_COFFEELAKE_ULT(xe) (xe && 0)
113 #define IS_KABYLAKE_ULT(xe) (xe && 0)
114 #define IS_SKYLAKE_ULT(xe) (xe && 0)
116 #define IS_DG2_G10(xe) ((xe)->info.subplatform == XE_SUBPLATFORM_DG2_G10)
117 #define IS_DG2_G11(xe) ((xe)->info.subplatform == XE_SUBPLATFORM_DG2_G11)
118 #define IS_DG2_G12(xe) ((xe)->info.subplatform == XE_SUBPLATFORM_DG2_G12)
119 #define IS_RAPTORLAKE_U(xe) ((xe)->info.subplatform == XE_SUBPLATFORM_ALDERLAKE_P_RPLU)
120 #define IS_ICL_WITH_PORT_F(xe) (xe && 0)
121 #define HAS_FLAT_CCS(xe) (xe_device_has_flat_ccs(xe))
124 #define HAS_128_BYTE_Y_TILING(xe) (xe || 1)
130 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm);
132 return xe_pm_runtime_resume_and_get(xe);
137 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm);
139 return xe_pm_runtime_get_if_in_use(xe);
144 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm);
146 xe_pm_runtime_get_noresume(xe);
152 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm);
154 xe_pm_runtime_put(xe);
184 #define RUNTIME_INFO(xe) (&(xe)->info.i915_runtime)