Skip to content

Commit 07960a4

Browse files
committed
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 <[email protected]> Reviewed-by: Matt Roper <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent d8d1231 commit 07960a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/display/intel_tv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ intel_tv_compute_config(struct intel_encoder *encoder,
13071307
* the active portion. Hence following this formula seems
13081308
* more trouble that it's worth.
13091309
*
1310-
* if (IS_GEN(dev_priv, 4)) {
1310+
* if (GRAPHICS_VER(dev_priv) == 4) {
13111311
* num = cdclk * (tv_mode->oversample >> !tv_mode->progressive);
13121312
* den = tv_mode->clock;
13131313
* } else {

0 commit comments

Comments
 (0)