drm/i915/display: use a macro to define platform enumerations
authorJani Nikula <jani.nikula@intel.com>
Mon, 28 Oct 2024 19:48:36 +0000 (21:48 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 30 Oct 2024 09:15:51 +0000 (11:15 +0200)
commitefdc22e91069709cb690a1b74b70cc0b45eeb61d
tree47500b92987de741eedf1fb087832e9b8e644a5d
parentee51ffd2680c287bb9eaa85fb7a21f4ff0168ae1
drm/i915/display: use a macro to define platform enumerations

We'll be needing a macro based list of platforms for more things in the
future. Start by defining the platform enumerations with it.

v3: Rebase for PTL

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/fca14c018c54ef4099012d2a764257d651d672d9.1730144869.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display_device.h