]> Git Repo - linux.git/commit
drm/i915/display: add platform member to struct intel_display
authorJani Nikula <[email protected]>
Mon, 28 Oct 2024 19:48:40 +0000 (21:48 +0200)
committerJani Nikula <[email protected]>
Wed, 30 Oct 2024 09:15:51 +0000 (11:15 +0200)
commit3705e3f48e98b107bbfd905217421b9a893f1d3f
tree625c2ac05e84d52eab965f244792c309e1c88fc3
parentc27cce227ebee4a45e180c7979ecf671cf12b57f
drm/i915/display: add platform member to struct intel_display

Facilitate using display->platform.haswell and
display->platform.haswell_ult etc. for identifying platforms and
subplatforms.

Merge the platform and subplatform bitmaps together, and check that
there's no overlap.

v4:
- Lower case, s/is/platform/

v3:
- Fix sanity check on display->is after merging subplatform members

v2:
- Use bitmap ops
- Add some sanity checks with warnings

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