[PATCH 6/6] drm/i915: remove unused i915_gem_lmem_obj_ops declaration

Jani Nikula jani.nikula at linux.intel.com
Tue Sep 13 18:28:31 UTC 2022


On Tue, 13 Sep 2022, Gaosheng Cui <cuigaosheng1 at huawei.com> wrote:
> i915_gem_lmem_obj_ops has been removed since
> commit 213d50927763 ("drm/i915/ttm: Introduce a TTM i915
> gem object backend"), so remove it.

Thanks, pushed this one patch to drm-intel-gt-next.

BR,
Jani.

>
> Signed-off-by: Gaosheng Cui <cuigaosheng1 at huawei.com>
> ---
>  drivers/gpu/drm/i915/gem/i915_gem_lmem.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/gem/i915_gem_lmem.h b/drivers/gpu/drm/i915/gem/i915_gem_lmem.h
> index 1b88ea13435c..5a7a14e85c3f 100644
> --- a/drivers/gpu/drm/i915/gem/i915_gem_lmem.h
> +++ b/drivers/gpu/drm/i915/gem/i915_gem_lmem.h
> @@ -12,8 +12,6 @@ struct drm_i915_private;
>  struct drm_i915_gem_object;
>  struct intel_memory_region;
>  
> -extern const struct drm_i915_gem_object_ops i915_gem_lmem_obj_ops;
> -
>  void __iomem *
>  i915_gem_object_lmem_io_map(struct drm_i915_gem_object *obj,
>  			    unsigned long n,

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the amd-gfx mailing list