diff options
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index aba8260fbc5e..b7cb4aadd059 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -731,6 +731,8 @@ struct drm_i915_gem_object { | |||
731 | atomic_t pending_flip; | 731 | atomic_t pending_flip; |
732 | }; | 732 | }; |
733 | 733 | ||
734 | #define to_intel_bo(x) ((struct drm_i915_gem_object *) (x)->driver_private) | ||
735 | |||
734 | /** | 736 | /** |
735 | * Request queue structure. | 737 | * Request queue structure. |
736 | * | 738 | * |