-
- Downloads
drm/xe/display: Move device info initialization to display
Instead of initializing the display info together with the platform in xe_pci.c, let the display part initialize it. The small disadvantage is that the description struct is not automatically mapped from the PCI ID, but just doing a switch on the platform, that should already be set during display initialization should be ok. This allows to encapsulate the display details inside the display compilation units. Also use __diag_push() / __diag_pop() like in xe_step to handle the few places where -Woverride-init should be disabled. Signed-off-by:Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by:
Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://lore.kernel.org/r/20230302013411.3262608-6-lucas.demarchi@intel.com
- drivers/gpu/drm/xe/Makefile 0 additions, 3 deletionsdrivers/gpu/drm/xe/Makefile
- drivers/gpu/drm/xe/xe_display.c 114 additions, 0 deletionsdrivers/gpu/drm/xe/xe_display.c
- drivers/gpu/drm/xe/xe_display.h 7 additions, 8 deletionsdrivers/gpu/drm/xe/xe_display.h
- drivers/gpu/drm/xe/xe_pci.c 7 additions, 83 deletionsdrivers/gpu/drm/xe/xe_pci.c
-
mentioned in commit 3873fe42
-
mentioned in commit 2b3fea04
-
mentioned in commit 6561f0ac
-
mentioned in commit 9d56fe93
-
mentioned in commit 37a8f807
-
mentioned in commit 66007760
-
mentioned in commit f6ee4cf0
-
mentioned in commit de74f27d
-
mentioned in commit 0276e96d
-
mentioned in commit c96cd2af
-
mentioned in commit 31cf55fd
-
mentioned in commit 60f7bf32
-
mentioned in commit fa8e4a61
-
mentioned in commit cd6f7ea5
-
mentioned in commit e86f9a60
-
mentioned in commit 5752225d
-
mentioned in commit a54addaa
-
mentioned in commit 4df9a2d7
-
mentioned in commit 535cf20b
-
mentioned in commit 84e0d691