drm/i915/dsb: Enable DSB for gen12.
authorAnimesh Manna <animesh.manna@intel.com>
Fri, 20 Sep 2019 11:59:29 +0000 (17:29 +0530)
committerJani Nikula <jani.nikula@intel.com>
Mon, 23 Sep 2019 07:21:51 +0000 (10:21 +0300)
Enabling DSB by setting 1 to has_dsb flag for gen12.

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Shashank Sharma <shashank.sharma@intel.com>
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190920115930.27829-10-animesh.manna@intel.com
drivers/gpu/drm/i915/i915_pci.c

index fe6941c..c2faa67 100644 (file)
@@ -787,7 +787,8 @@ static const struct intel_device_info intel_elkhartlake_info = {
                [TRANSCODER_DSI_0] = TRANSCODER_DSI0_OFFSET, \
                [TRANSCODER_DSI_1] = TRANSCODER_DSI1_OFFSET, \
        }, \
-       .has_global_mocs = 1
+       .has_global_mocs = 1, \
+       .display.has_dsb = 1
 
 static const struct intel_device_info intel_tigerlake_12_info = {
        GEN12_FEATURES,