Skip to content

Commit 1aad06f

Browse files
committed
drm/i915/psr: avoid intel_frontbuffer.h include with declaration
Reduce include dependencies using forward declarations. Reviewed-by: Ville Syrjälä <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/ee35f2f01f731c21f24a238f2d1690b09ac2da1f.1639142167.git.jani.nikula@intel.com
1 parent c7c2918 commit 1aad06f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

drivers/gpu/drm/i915/display/intel_psr.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,19 @@
66
#ifndef __INTEL_PSR_H__
77
#define __INTEL_PSR_H__
88

9-
#include "intel_frontbuffer.h"
9+
#include <linux/types.h>
1010

11+
enum fb_op_origin;
1112
struct drm_connector;
1213
struct drm_connector_state;
1314
struct drm_i915_private;
15+
struct intel_atomic_state;
16+
struct intel_crtc;
1417
struct intel_crtc_state;
1518
struct intel_dp;
16-
struct intel_crtc;
17-
struct intel_atomic_state;
18-
struct intel_plane_state;
19-
struct intel_plane;
2019
struct intel_encoder;
20+
struct intel_plane;
21+
struct intel_plane_state;
2122

2223
void intel_psr_init_dpcd(struct intel_dp *intel_dp);
2324
void intel_psr_pre_plane_update(struct intel_atomic_state *state,

0 commit comments

Comments
 (0)