[Intel-gfx] [PATCH] drm/i915: Remove leftover gem.pm_notifier member

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Tue Nov 12 11:48:40 UTC 2019


On 12/11/2019 11:34, Chris Wilson wrote:
> Since we removed the pm hookup from the GT, the hook in
> drm_i915_private.gem is unused. Remove it.
> 
> References: 18f3b2727fc3 ("drm/i915: Remove pm park/unpark notifications")
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> ---
>   drivers/gpu/drm/i915/i915_drv.h | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
> index c303707f5132..5f8bd1d54c59 100644
> --- a/drivers/gpu/drm/i915/i915_drv.h
> +++ b/drivers/gpu/drm/i915/i915_drv.h
> @@ -1252,8 +1252,6 @@ struct drm_i915_private {
>   	struct intel_gt gt;
>   
>   	struct {
> -		struct notifier_block pm_notifier;
> -
>   		struct i915_gem_contexts {
>   			spinlock_t lock; /* locks list */
>   			struct list_head list;
> 

Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Regards,

Tvrtko


More information about the Intel-gfx mailing list