Skip to content

Commit 5afeb97

Browse files
committed
Merge tag 'drm-misc-next-fixes-2020-05-27' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
Short summary of fixes pull (less than what git shortlog provides): There's a fix for panel brighness on Lenovo X13 Yoga devices and a fix for -Wformat warnings on architectures where atomic-64 counters are not of type unsigned long long. Signed-off-by: Dave Airlie <[email protected]> From: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/20200527080123.GA8186@linux-uq9g
2 parents 7dbbdd3 + 6f27e4c commit 5afeb97

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

drivers/gpu/drm/drm_dp_helper.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,6 +1315,7 @@ static const struct edid_quirk edid_quirk_list[] = {
13151315
{ MFG(0x06, 0xaf), PROD_ID(0xeb, 0x41), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
13161316
{ MFG(0x4d, 0x10), PROD_ID(0xc7, 0x14), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
13171317
{ MFG(0x4d, 0x10), PROD_ID(0xe6, 0x14), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
1318+
{ MFG(0x4c, 0x83), PROD_ID(0x47, 0x41), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
13181319
};
13191320

13201321
#undef MFG

drivers/gpu/drm/drm_vblank.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ static void drm_update_vblank_count(struct drm_device *dev, unsigned int pipe,
342342

343343
DRM_DEBUG_VBL("updating vblank count on crtc %u:"
344344
" current=%llu, diff=%u, hw=%u hw_last=%u\n",
345-
pipe, atomic64_read(&vblank->count), diff,
346-
cur_vblank, vblank->last);
345+
pipe, (unsigned long long)atomic64_read(&vblank->count),
346+
diff, cur_vblank, vblank->last);
347347

348348
if (diff == 0) {
349349
WARN_ON_ONCE(cur_vblank != vblank->last);

0 commit comments

Comments
 (0)