drm/xe: Revert "drm/i915: Disable DSB in Xe KMD"
authorAnimesh Manna <animesh.manna@intel.com>
Fri, 13 Sep 2024 11:47:54 +0000 (13:47 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 18 Sep 2024 14:10:10 +0000 (16:10 +0200)
This reverts commit c27f010aa1884276ee5dae72034d84987060c769.

After fix from [1] dsb timeout issue is not reproducible on local testing
with xe driver. Checking CI result to confirm and not for review.

[1] https://patchwork.freedesktop.org/series/130783/

Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240913114754.7956-3-maarten.lankhorst@linux.intel.com
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_dsb.c

index da24e04..e0c628d 100644 (file)
@@ -706,10 +706,6 @@ struct intel_dsb *intel_dsb_prepare(struct intel_atomic_state *state,
        if (!i915->display.params.enable_dsb)
                return NULL;
 
-       /* TODO: DSB is broken in Xe KMD, so disabling it until fixed */
-       if (!IS_ENABLED(I915))
-               return NULL;
-
        dsb = kzalloc(sizeof(*dsb), GFP_KERNEL);
        if (!dsb)
                goto out;