]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/atomic-helpers: Update vblank timestamping constants
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 May 2015 13:21:06 +0000 (15:21 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 May 2015 09:28:11 +0000 (11:28 +0200)
commit3d51d2d2f52cb4a4d903f6a604027dc94c5bb9eb
tree396cda127ff15302fd30c8c1720fc43bea61558f
parentcbfa9faea1f6cb2b5d271acb1d4a08295f075b87
drm/atomic-helpers: Update vblank timestamping constants

The atomic helpers don't call drm_calc_timestamping_constants, which
is a regression compared to the crtc helpers. Fix this.

Noticed while reviewing i915 atomic patches from Maarten.

v2: Also check state->enable to avoid a warning in dmesg. Reported by
Maarten.

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/drm_atomic_helper.c