]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge drm/drm-next into drm-xe-next
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 16 Aug 2024 17:05:54 +0000 (10:05 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 16 Aug 2024 17:33:54 +0000 (10:33 -0700)
Get drm-xe-next on v6.11-rc2 and synchronized with drm-intel-next for
the display side. This resolves the current conflict for the
enable_display module parameter and allows further pending refactors.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
1  2 
drivers/gpu/drm/xe/display/xe_display.c
drivers/gpu/drm/xe/xe_vm.c

index 56a940b39412ca6e56d252a7da473e627bb33f0f,0e4adde84cb297e8ab4423531831944dc29cc4c4..982b9c5b440f22829641044489f7f7748e507857
@@@ -126,8 -127,9 +127,9 @@@ int xe_display_init_nommio(struct xe_de
  static void xe_display_fini_noirq(void *arg)
  {
        struct xe_device *xe = arg;
+       struct intel_display *display = &xe->display;
  
 -      if (!xe->info.enable_display)
 +      if (!xe->info.probe_display)
                return;
  
        intel_display_driver_remove_noirq(xe);
  
  int xe_display_init_noirq(struct xe_device *xe)
  {
+       struct intel_display *display = &xe->display;
        int err;
  
 -      if (!xe->info.enable_display)
 +      if (!xe->info.probe_display)
                return 0;
  
        intel_display_driver_early_probe(xe);
@@@ -246,7 -252,9 +252,9 @@@ void xe_display_irq_handler(struct xe_d
  
  void xe_display_irq_enable(struct xe_device *xe, u32 gu_misc_iir)
  {
 -      if (!xe->info.enable_display)
+       struct intel_display *display = &xe->display;
 +      if (!xe->info.probe_display)
                return;
  
        if (gu_misc_iir & GU_MISC_GSE)
@@@ -296,8 -289,9 +289,9 @@@ static bool suspend_to_idle(void
  
  void xe_display_pm_suspend(struct xe_device *xe, bool runtime)
  {
+       struct intel_display *display = &xe->display;
        bool s2idle = suspend_to_idle();
 -      if (!xe->info.enable_display)
 +      if (!xe->info.probe_display)
                return;
  
        /*
@@@ -347,7 -341,9 +341,9 @@@ void xe_display_pm_resume_early(struct 
  
  void xe_display_pm_resume(struct xe_device *xe, bool runtime)
  {
 -      if (!xe->info.enable_display)
+       struct intel_display *display = &xe->display;
 +      if (!xe->info.probe_display)
                return;
  
        intel_dmc_resume(xe);
Simple merge