Skip to content

Commit 1cf66e1

Browse files
committed
Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6
* 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: drm/edid: Fix the HDTV hack sync adjustment drm/radeon/kms: fix radeon mid power profile reporting
2 parents de51257 + a4967de commit 1cf66e1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

drivers/gpu/drm/drm_edid.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -864,8 +864,8 @@ drm_mode_std(struct drm_connector *connector, struct edid *edid,
864864
mode = drm_cvt_mode(dev, 1366, 768, vrefresh_rate, 0, 0,
865865
false);
866866
mode->hdisplay = 1366;
867-
mode->vsync_start = mode->vsync_start - 1;
868-
mode->vsync_end = mode->vsync_end - 1;
867+
mode->hsync_start = mode->hsync_start - 1;
868+
mode->hsync_end = mode->hsync_end - 1;
869869
return mode;
870870
}
871871

drivers/gpu/drm/radeon/radeon_pm.c

+1
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ static ssize_t radeon_get_pm_profile(struct device *dev,
333333
return snprintf(buf, PAGE_SIZE, "%s\n",
334334
(cp == PM_PROFILE_AUTO) ? "auto" :
335335
(cp == PM_PROFILE_LOW) ? "low" :
336+
(cp == PM_PROFILE_MID) ? "mid" :
336337
(cp == PM_PROFILE_HIGH) ? "high" : "default");
337338
}
338339

0 commit comments

Comments
 (0)