summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/skl_universal_plane.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2021-10-26 19:15:16 +0300
committerImre Deak <imre.deak@intel.com>2021-10-29 17:21:21 +0300
commit7df7bca56902e4d96c7b17b84378774f2254b707 (patch)
tree5605366d899e5eae2b2a1f9c61fddb3511be0720 /drivers/gpu/drm/i915/display/skl_universal_plane.c
parentda0c3e2c907aaa4c6818aabc2691a667e3578063 (diff)
downloadlinux-7df7bca56902e4d96c7b17b84378774f2254b707.tar.gz
linux-7df7bca56902e4d96c7b17b84378774f2254b707.tar.bz2
linux-7df7bca56902e4d96c7b17b84378774f2254b707.zip
drm/i915/fb: Don't store bitmasks in the intel_plane_caps enum
Variables of enum types can contain only the values listed at the enums definition, so don't store bitmasks in intel_plane_caps enum variables. Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211026161517.2694067-3-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/skl_universal_plane.c')
-rw-r--r--drivers/gpu/drm/i915/display/skl_universal_plane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/skl_universal_plane.c b/drivers/gpu/drm/i915/display/skl_universal_plane.c
index 8fa0ae89e5b3..317108e009bb 100644
--- a/drivers/gpu/drm/i915/display/skl_universal_plane.c
+++ b/drivers/gpu/drm/i915/display/skl_universal_plane.c
@@ -2023,7 +2023,7 @@ skl_universal_plane_create(struct drm_i915_private *dev_priv,
const struct drm_plane_funcs *plane_funcs;
struct intel_plane *plane;
enum drm_plane_type plane_type;
- enum intel_plane_caps plane_caps;
+ u8 plane_caps;
unsigned int supported_rotations;
unsigned int supported_csc;
const u64 *modifiers;