drm/i915/: Extend VRR platform support to Gen 11
authorManasi Navare <manasi.d.navare@intel.com>
Tue, 16 Nov 2021 23:12:09 +0000 (15:12 -0800)
committerManasi Navare <manasi.d.navare@intel.com>
Thu, 18 Nov 2021 23:52:54 +0000 (15:52 -0800)
VRR is supported on Gen 11 HW , hence extend the support
in the driver to enable this for Gen 11.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211116231209.28621-1-manasi.d.navare@intel.com
drivers/gpu/drm/i915/i915_drv.h

index 1a43757bf2614e6ab00c4e159db3acf80d042658..4f58e145650570f29c3bb6b85c86f8ff7f2cfaef 100644 (file)
@@ -1741,7 +1741,7 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,
 
 #define HAS_DISPLAY(dev_priv) (INTEL_INFO(dev_priv)->pipe_mask != 0)
 
-#define HAS_VRR(i915)  (GRAPHICS_VER(i915) >= 12)
+#define HAS_VRR(i915)  (GRAPHICS_VER(i915) >= 11)
 
 #define HAS_ASYNC_FLIPS(i915)          (DISPLAY_VER(i915) >= 5)