[Intel-gfx] [PATCH 1/7] drm/i915/reset: remove useless intel_display_types.h include

Ville Syrjälä ville.syrjala at linux.intel.com
Thu Dec 9 17:29:22 UTC 2021


On Thu, Dec 09, 2021 at 03:50:56PM +0200, Jani Nikula wrote:
> Not needed.
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> ---
>  drivers/gpu/drm/i915/gt/intel_reset.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/gt/intel_reset.c b/drivers/gpu/drm/i915/gt/intel_reset.c
> index 63199f0550e6..b8ac454f2d96 100644
> --- a/drivers/gpu/drm/i915/gt/intel_reset.c
> +++ b/drivers/gpu/drm/i915/gt/intel_reset.c
> @@ -6,7 +6,6 @@
>  #include <linux/sched/mm.h>
>  #include <linux/stop_machine.h>
>  
> -#include "display/intel_display_types.h"

intel_display_{prepare,finish}_reset() are in intel_display.h
so I'm thinking that is what we want to include here. I guess
atm it gets included via some more circuitous route?

>  #include "display/intel_overlay.h"
>  
>  #include "gem/i915_gem_context.h"
> -- 
> 2.30.2

-- 
Ville Syrjälä
Intel


More information about the Intel-gfx mailing list