diff options
author | Jani Nikula <jani.nikula@intel.com> | 2021-12-10 15:16:57 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-12-13 12:04:54 +0200 |
commit | 1aad06f89291c2191f7c352bcd63cdf393f0f87b (patch) | |
tree | 465fe898a93476ab7034913a34be13483beabddb | |
parent | c7c2918849138057cb2206b4fe10b65f02ab07e1 (diff) | |
download | linux-1aad06f89291c2191f7c352bcd63cdf393f0f87b.tar.bz2 |
drm/i915/psr: avoid intel_frontbuffer.h include with declaration
Reduce include dependencies using forward declarations.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/ee35f2f01f731c21f24a238f2d1690b09ac2da1f.1639142167.git.jani.nikula@intel.com
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_psr.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_psr.h b/drivers/gpu/drm/i915/display/intel_psr.h index 3d9c0e13c329..f6526d9ccfdc 100644 --- a/drivers/gpu/drm/i915/display/intel_psr.h +++ b/drivers/gpu/drm/i915/display/intel_psr.h @@ -6,18 +6,19 @@ #ifndef __INTEL_PSR_H__ #define __INTEL_PSR_H__ -#include "intel_frontbuffer.h" +#include <linux/types.h> +enum fb_op_origin; struct drm_connector; struct drm_connector_state; struct drm_i915_private; +struct intel_atomic_state; +struct intel_crtc; struct intel_crtc_state; struct intel_dp; -struct intel_crtc; -struct intel_atomic_state; -struct intel_plane_state; -struct intel_plane; struct intel_encoder; +struct intel_plane; +struct intel_plane_state; void intel_psr_init_dpcd(struct intel_dp *intel_dp); void intel_psr_pre_plane_update(struct intel_atomic_state *state, |