Quoting Chris Wilson (2018-07-02 12:44:52) > @@ -451,6 +460,31 @@ i915_gem_object_get_tile_row_size(struct drm_i915_gem_object *obj) > int i915_gem_object_set_tiling(struct drm_i915_gem_object *obj, > unsigned int tiling, unsigned int stride); > > +#if IS_ENABLED(CONFIG_DRM_I915_DEBUG_GEM) > + > +void track_i915_gem_object_pin_pages(struct drm_i915_gem_object *obj); > +void untrack_i915_gem_object_pin_pages(struct drm_i915_gem_object *obj); > +void show_i915_gem_object_pin_pages(struct drm_i915_gem_object *obj); > + > +#else > + > +static inline void > +track_i915_gem_object_pin_pages(struct drm_i915_gem_object *obj) > +{ > +} > + > +static inline void > +untrack_i915_gem_object_pin_pages(struct drm_i915_gem_object *obj) > +{ > +} > + > +static inline void > +show_i915_gem_object_pin_pages(struct drm_i915_gem_object *obj) > +{ > +} > + > +#endif Grr, didn't notice in the rebase that i915_gem_object_pin_pages was no longer here. -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx