diff mbox series

[4/4] drm/i915/display: drop some unused includes

Message ID 20211017234106.2412994-5-airlied@gmail.com (mailing list archive)
State New, archived
Headers show
Series finish/rebase fbdev pin refactor. | expand

Commit Message

Dave Airlie Oct. 17, 2021, 11:41 p.m. UTC
From: Dave Airlie <airlied@redhat.com>

These aren't used since refactoring.

Signed-off-by: Dave Airlie <airlied@redhat.com>
---
 drivers/gpu/drm/i915/display/intel_display.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Ville Syrjala Oct. 19, 2021, 8:24 a.m. UTC | #1
On Mon, Oct 18, 2021 at 09:41:06AM +1000, Dave Airlie wrote:
> From: Dave Airlie <airlied@redhat.com>
> 
> These aren't used since refactoring.
> 
> Signed-off-by: Dave Airlie <airlied@redhat.com>
> ---
>  drivers/gpu/drm/i915/display/intel_display.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
> index ff598b6cd953..73f8c893d52e 100644
> --- a/drivers/gpu/drm/i915/display/intel_display.c
> +++ b/drivers/gpu/drm/i915/display/intel_display.c
> @@ -65,11 +65,8 @@
>  #include "display/intel_vdsc.h"
>  #include "display/intel_vrr.h"
>  
> -#include "gem/i915_gem_lmem.h"
>  #include "gem/i915_gem_object.h"
>  
> -#include "gt/gen8_ppgtt.h"
> -

I was wonder who even added that to a display file.
Turns out it was me :)

I guess the pte_encode() was there. Hmm, looks like it
still is actually.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

>  #include "pxp/intel_pxp.h"
>  
>  #include "g4x_dp.h"
> -- 
> 2.25.4
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index ff598b6cd953..73f8c893d52e 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -65,11 +65,8 @@ 
 #include "display/intel_vdsc.h"
 #include "display/intel_vrr.h"
 
-#include "gem/i915_gem_lmem.h"
 #include "gem/i915_gem_object.h"
 
-#include "gt/gen8_ppgtt.h"
-
 #include "pxp/intel_pxp.h"
 
 #include "g4x_dp.h"