drm/xe: Fix merge fails related to display runtime PM
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 2 Sep 2024 11:20:02 +0000 (13:20 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 2 Sep 2024 12:14:07 +0000 (14:14 +0200)
The most recent merge commits introduced some fails to drm/drm-next,
I've noticed these when looking at the xe patches.

Solve it!

Fixes: 8bdb468dd7a5 ("Merge tag 'drm-xe-next-2024-08-28' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-next")
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
[sima: add fixes line, and drop 3rd hunk because that's just a bugfix,
not mismerge, which should go in seperately with proper fixes line and
review/testing.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20240902112002.489225-1-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/xe/display/xe_display.c
drivers/gpu/drm/xe/xe_pm.c

index 78a884d..710b1e2 100644 (file)
@@ -341,8 +341,6 @@ void xe_display_pm_suspend(struct xe_device *xe, bool runtime)
 
        xe_display_flush_cleanup_work(xe);
 
-       xe_display_flush_cleanup_work(xe);
-
        intel_dp_mst_suspend(xe);
 
        intel_hpd_cancel_work(xe);
index 2e2accd..2600c93 100644 (file)
@@ -392,8 +392,6 @@ int xe_pm_runtime_suspend(struct xe_device *xe)
        xe_display_pm_runtime_suspend(xe);
 
        if (xe->d3cold.allowed) {
-               xe_display_pm_suspend(xe, true);
-
                err = xe_bo_evict_all(xe);
                if (err)
                        goto out;