From: Lucas De Marchi Date: Thu, 3 Jun 2021 16:54:28 +0000 (-0700) Subject: drm/i915/display: replace IS_GEN() in commented code X-Git-Tag: v5.14-rc1~114^2~13^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=07960a4cc44ff6f51eacd3a5c2935e73cebbceca;p=thirdparty%2Fkernel%2Flinux.git drm/i915/display: replace IS_GEN() in commented code Since we are replacing IS_GEN() with GRAPHICS_VER(), make sure we take care of the comments as well. Signed-off-by: Lucas De Marchi Reviewed-by: Matt Roper Link: https://patchwork.freedesktop.org/patch/msgid/20210603165428.3625495-8-lucas.demarchi@intel.com --- diff --git a/drivers/gpu/drm/i915/display/intel_tv.c b/drivers/gpu/drm/i915/display/intel_tv.c index ce73ebdfc6697..aa52af7891f0f 100644 --- a/drivers/gpu/drm/i915/display/intel_tv.c +++ b/drivers/gpu/drm/i915/display/intel_tv.c @@ -1307,7 +1307,7 @@ intel_tv_compute_config(struct intel_encoder *encoder, * the active portion. Hence following this formula seems * more trouble that it's worth. * - * if (IS_GEN(dev_priv, 4)) { + * if (GRAPHICS_VER(dev_priv) == 4) { * num = cdclk * (tv_mode->oversample >> !tv_mode->progressive); * den = tv_mode->clock; * } else {