diff options
author | Dave Airlie <airlied@redhat.com> | 2020-12-21 11:04:48 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2020-12-22 10:09:05 +0200 |
commit | 99ce270a1ec1540d2517bac646a552c0199ae226 (patch) | |
tree | 13e508cdf6e8f683523aeba618ae01572f463526 /drivers/gpu/drm/i915/display/intel_cursor.h | |
parent | d6933784e64969a13a61684f881f7c9ff9a96e72 (diff) | |
download | linux-99ce270a1ec1540d2517bac646a552c0199ae226.tar.gz linux-99ce270a1ec1540d2517bac646a552c0199ae226.tar.bz2 linux-99ce270a1ec1540d2517bac646a552c0199ae226.zip |
drm/i915: refactor cursor code out of i915_display.c
This file is a monster, let's start simple, the cursor plane code
seems pretty standalone, and splits out easily enough.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
[Jani: cleaned up intel_cursor.h a bit.]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201221090449.8288-4-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_cursor.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_cursor.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_cursor.h b/drivers/gpu/drm/i915/display/intel_cursor.h new file mode 100644 index 000000000000..ce333bf4c2d5 --- /dev/null +++ b/drivers/gpu/drm/i915/display/intel_cursor.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: MIT */ +/* + * Copyright © 2020 Intel Corporation + */ + +#ifndef _INTEL_CURSOR_H_ +#define _INTEL_CURSOR_H_ + +enum pipe; +struct drm_i915_private; +struct intel_plane; + +struct intel_plane * +intel_cursor_plane_create(struct drm_i915_private *dev_priv, + enum pipe pipe); + +#endif |