mirror of
https://github.com/torvalds/linux.git
synced 2026-04-27 11:02:31 -04:00
drm/i915/display: identify discrete graphics
Identify discrete graphics separately in display, using the platform group mechanism. This enables dropping the dependency on i915_drv.h IS_DGFX() from display code. Start grouping platform groups separately in INTEL_DISPLAY_PLATFORMS() in anticipation of more groups to come. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/c02230d26cc0d9dbd7ddcc064661b2ad03739b6a.1731321183.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
@@ -21,6 +21,9 @@ struct drm_printer;
|
||||
* platform.
|
||||
*/
|
||||
#define INTEL_DISPLAY_PLATFORMS(func) \
|
||||
/* Platform group aliases */ \
|
||||
func(g4x) /* g45 and gm45 */ \
|
||||
func(dgfx) /* discrete graphics */ \
|
||||
/* Display ver 2 */ \
|
||||
func(i830) \
|
||||
func(i845g) \
|
||||
@@ -38,7 +41,6 @@ struct drm_printer;
|
||||
func(i965gm) \
|
||||
func(g45) \
|
||||
func(gm45) \
|
||||
func(g4x) /* group alias for g45 and gm45 */ \
|
||||
/* Display ver 5 */ \
|
||||
func(ironlake) \
|
||||
/* Display ver 6 */ \
|
||||
|
||||
Reference in New Issue
Block a user