summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_lock.c
diff options
context:
space:
mode:
authorMario Kleiner <mario.kleiner.de@gmail.com>2016-07-19 20:58:58 +0200
committerEric Anholt <eric@anholt.net>2016-08-19 19:05:49 -0700
commitacc1be1d351e8d5c0c8d14dad904ae0e39fc3653 (patch)
treea68e8e73fdd44eb82588b9e562f25f57d30ddd6e /drivers/gpu/drm/drm_lock.c
parente2298350de58d5c956131003606bfa4995f26933 (diff)
downloadtalos-op-linux-acc1be1d351e8d5c0c8d14dad904ae0e39fc3653.tar.gz
talos-op-linux-acc1be1d351e8d5c0c8d14dad904ae0e39fc3653.zip
drm/vc4: Fix handling of interlaced video modes.
We must not apply CRTC_INTERLACE_HALVE_V to interlaced modes during mode enumeration, as drm_helper_probe_single_connector_modes does, so wrap it and reset the effect of CRTC_INTERLACE_HALVE_V on affected interlaced modes. Also mode_fixup interlaced modes passed in from user space. This fixes the vblank timestamping constants and entries in the mode->crtc_xxx fields needed for precise vblank timestamping. Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/drm_lock.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud