Display code should not care about graphics version. It's only comments
here, but update anyway.

Signed-off-by: Jani Nikula <jani.nik...@intel.com>
---
 drivers/gpu/drm/i915/display/intel_tv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_tv.c 
b/drivers/gpu/drm/i915/display/intel_tv.c
index d4386cb3569e..9a217805d2f6 100644
--- a/drivers/gpu/drm/i915/display/intel_tv.c
+++ b/drivers/gpu/drm/i915/display/intel_tv.c
@@ -1327,7 +1327,7 @@ intel_tv_compute_config(struct intel_encoder *encoder,
         * the active portion. Hence following this formula seems
         * more trouble that it's worth.
         *
-        * if (GRAPHICS_VER(dev_priv) == 4) {
+        * if (DISPLAY_VER(dev_priv) == 4) {
         *      num = cdclk * (tv_mode->oversample >> !tv_mode->progressive);
         *      den = tv_mode->clock;
         * } else {
-- 
2.39.2

Reply via email to