All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [Intel-gfx] [PATCH 3/5] drm/i915/pm: use forward declaration to remove an include
Date: Wed, 18 Aug 2021 13:11:07 +0300	[thread overview]
Message-ID: <dcb426e4c6497f9ee3356c5f4fd4aaabd6295262.1629281426.git.jani.nikula@intel.com> (raw)
In-Reply-To: <cover.1629281426.git.jani.nikula@intel.com>

The fewer includes the better.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/intel_pm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_pm.h b/drivers/gpu/drm/i915/intel_pm.h
index 91f23b7f0af2..941b3ae555c8 100644
--- a/drivers/gpu/drm/i915/intel_pm.h
+++ b/drivers/gpu/drm/i915/intel_pm.h
@@ -8,7 +8,6 @@
 
 #include <linux/types.h>
 
-#include "display/intel_bw.h"
 #include "display/intel_display.h"
 #include "display/intel_global_state.h"
 
@@ -19,6 +18,7 @@ struct drm_device;
 struct drm_i915_private;
 struct i915_request;
 struct intel_atomic_state;
+struct intel_bw_state;
 struct intel_crtc;
 struct intel_crtc_state;
 struct intel_plane;
-- 
2.20.1


  parent reply	other threads:[~2021-08-18 10:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-18 10:11 [Intel-gfx] [PATCH 0/5] drm/i915: header cleanups Jani Nikula
2021-08-18 10:11 ` [Intel-gfx] [PATCH 1/5] drm/i915/irq: reduce inlines to reduce header dependencies Jani Nikula
2021-08-18 10:11 ` [Intel-gfx] [PATCH 2/5] drm/i915: intel_runtime_pm.h does not actually need intel_display.h Jani Nikula
2021-08-18 10:11 ` Jani Nikula [this message]
2021-08-18 10:11 ` [Intel-gfx] [PATCH 4/5] drm/i915/panel: move intel_panel_use_ssc() out of headers Jani Nikula
2021-08-18 10:11 ` [Intel-gfx] [PATCH 5/5] drm/i915/fdi: move intel_fdi_link_freq() to intel_fdi.[ch] Jani Nikula
2021-08-19 16:25   ` Ville Syrjälä
2021-08-20  7:45     ` Jani Nikula
2021-08-18 11:30 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: header cleanups Patchwork
2021-08-18 11:32 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2021-08-18 11:57 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2021-08-18 13:43 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dcb426e4c6497f9ee3356c5f4fd4aaabd6295262.1629281426.git.jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.