summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/i9xx_plane.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2021-02-05 16:48:41 +0200
committerJani Nikula <jani.nikula@intel.com>2021-02-08 12:09:28 +0200
commit2a3014490cd18a5d0a95c6efd406cf90d69e2a44 (patch)
tree25ef976de99fd409a30c8c8d26eef5c3d5711885 /drivers/gpu/drm/i915/display/i9xx_plane.h
parent12edd6ab14b400460807309158eaa344ba1d43e4 (diff)
downloadlinux-2a3014490cd18a5d0a95c6efd406cf90d69e2a44.tar.gz
linux-2a3014490cd18a5d0a95c6efd406cf90d69e2a44.tar.bz2
linux-2a3014490cd18a5d0a95c6efd406cf90d69e2a44.zip
drm/i915: migrate i9xx plane get config
Migrate this code out like the skylake code. Signed-off-by: Dave Airlie <airlied@redhat.com> 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/c003bd458a6bcc703e9e2fb05731fb7124012e8c.1612536383.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/i9xx_plane.h')
-rw-r--r--drivers/gpu/drm/i915/display/i9xx_plane.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/i9xx_plane.h b/drivers/gpu/drm/i915/display/i9xx_plane.h
index ca963c2a8457..027b66053984 100644
--- a/drivers/gpu/drm/i915/display/i9xx_plane.h
+++ b/drivers/gpu/drm/i915/display/i9xx_plane.h
@@ -10,6 +10,8 @@
enum pipe;
struct drm_i915_private;
+struct intel_crtc;
+struct intel_initial_plane_config;
struct intel_plane;
struct intel_plane_state;
@@ -21,4 +23,6 @@ int i9xx_check_plane_surface(struct intel_plane_state *plane_state);
struct intel_plane *
intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe);
+void i9xx_get_initial_plane_config(struct intel_crtc *crtc,
+ struct intel_initial_plane_config *plane_config);
#endif