We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9da6743 commit 6292b8eCopy full SHA for 6292b8e
drivers/gpu/drm/drm_edid.c
@@ -5111,7 +5111,7 @@ static struct drm_display_mode *drm_mode_displayid_detailed(struct drm_device *d
5111
struct drm_display_mode *mode;
5112
unsigned pixel_clock = (timings->pixel_clock[0] |
5113
(timings->pixel_clock[1] << 8) |
5114
- (timings->pixel_clock[2] << 16));
+ (timings->pixel_clock[2] << 16)) + 1;
5115
unsigned hactive = (timings->hactive[0] | timings->hactive[1] << 8) + 1;
5116
unsigned hblank = (timings->hblank[0] | timings->hblank[1] << 8) + 1;
5117
unsigned hsync = (timings->hsync[0] | (timings->hsync[1] & 0x7f) << 8) + 1;
0 commit comments