]> Git Repo - linux.git/commit
drm/i915/display: add display platforms structure with platform members
authorJani Nikula <[email protected]>
Mon, 28 Oct 2024 19:48:39 +0000 (21:48 +0200)
committerJani Nikula <[email protected]>
Wed, 30 Oct 2024 09:15:51 +0000 (11:15 +0200)
commitc27cce227ebee4a45e180c7979ecf671cf12b57f
tree3383312cfc525b94e56242f2fcbd4e8341ad2dde
parent8cbbc37de4cc0145edb3a04df70a6b7f4d86cee8
drm/i915/display: add display platforms structure with platform members

Add a structure with a bitfield member for each platform and
subplatform, and initialize them in platform and subplatform descs.

The structure also contains a bitmap in a union for easier manipulation
of the bits. This, in turn, requires a bit of trickery with
INTEL_DISPLAY_PLATFORMS() to count the number of bits required for
DECLARE_BITMAP().

Reviewed-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/bf1d828cd333d34862ad3198e282c9d294c6e1ad.1730144869.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <[email protected]>
drivers/gpu/drm/i915/display/intel_display_device.c
drivers/gpu/drm/i915/display/intel_display_device.h
This page took 0.079106 seconds and 4 git commands to generate.