aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index f471d218b89a..a70bf77290fc 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -602,6 +602,7 @@ int i915_gem_init_object(struct drm_gem_object *obj);
602void i915_gem_free_object(struct drm_gem_object *obj); 602void i915_gem_free_object(struct drm_gem_object *obj);
603int i915_gem_object_pin(struct drm_gem_object *obj, uint32_t alignment); 603int i915_gem_object_pin(struct drm_gem_object *obj, uint32_t alignment);
604void i915_gem_object_unpin(struct drm_gem_object *obj); 604void i915_gem_object_unpin(struct drm_gem_object *obj);
605int i915_gem_object_unbind(struct drm_gem_object *obj);
605void i915_gem_lastclose(struct drm_device *dev); 606void i915_gem_lastclose(struct drm_device *dev);
606uint32_t i915_get_gem_seqno(struct drm_device *dev); 607uint32_t i915_get_gem_seqno(struct drm_device *dev);
607void i915_gem_retire_requests(struct drm_device *dev); 608void i915_gem_retire_requests(struct drm_device *dev);
@@ -785,6 +786,11 @@ extern int i915_wait_ring(struct drm_device * dev, int n, const char *caller);
785 IS_I945GM(dev) || IS_I965GM(dev) || IS_GM45(dev)) 786 IS_I945GM(dev) || IS_I965GM(dev) || IS_GM45(dev))
786 787
787#define I915_NEED_GFX_HWS(dev) (IS_G33(dev) || IS_GM45(dev) || IS_G4X(dev)) 788#define I915_NEED_GFX_HWS(dev) (IS_G33(dev) || IS_GM45(dev) || IS_G4X(dev))
789/* With the 945 and later, Y tiling got adjusted so that it was 32 128-byte
790 * rows, which changed the alignment requirements and fence programming.
791 */
792#define HAS_128_BYTE_Y_TILING(dev) (IS_I9XX(dev) && !(IS_I915G(dev) || \
793 IS_I915GM(dev)))
788#define SUPPORTS_INTEGRATED_HDMI(dev) (IS_G4X(dev)) 794#define SUPPORTS_INTEGRATED_HDMI(dev) (IS_G4X(dev))
789 795
790#define PRIMARY_RINGBUFFER_SIZE (128*1024) 796#define PRIMARY_RINGBUFFER_SIZE (128*1024)