OSDN Git Service

drm/i915/fb: Don't store bitmasks in the intel_plane_caps enum
authorImre Deak <imre.deak@intel.com>
Tue, 26 Oct 2021 16:15:16 +0000 (19:15 +0300)
committerImre Deak <imre.deak@intel.com>
Fri, 29 Oct 2021 14:21:21 +0000 (17:21 +0300)
commit7df7bca56902e4d96c7b17b84378774f2254b707
tree5605366d899e5eae2b2a1f9c61fddb3511be0720
parentda0c3e2c907aaa4c6818aabc2691a667e3578063
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
drivers/gpu/drm/i915/display/intel_fb.c
drivers/gpu/drm/i915/display/intel_fb.h
drivers/gpu/drm/i915/display/skl_universal_plane.c