summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_debugfs.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2019-01-29 17:19:12 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2019-01-30 00:26:39 +0300
commitaddc80f0bba9f015208132b804397d9d08399465 (patch)
treeb0b7f873845747bc85bc2988c61545cd84668d4a /drivers/gpu/drm/nouveau/nouveau_debugfs.c
parent5a3db6f08a8eae15bff597dce290ac238daeb717 (diff)
downloadlinux-addc80f0bba9f015208132b804397d9d08399465.tar.xz
drm/i915/tv: Fix adjusted_mode dotclock for interlaced modes
intel_tv_mode_to_mode() assumes the pipe will be in progressive fetch mode, and thus when programming the pipe into interlaced mode we have to halve the calculated dotclock to get the correct field duration. This becomes more important when we start to program the pipe into interlaced mode on i965gm as we depend on the timestamps to get accurate frame counter values. Withot halving the clock our guesstimated frame counter would tick at twice the expected speed. Cc: Imre Deak <imre.deak@intel.com> Fixes: 690157f0a9e7 ("drm/i915/tv: Fix >1024 modes on gen3") Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190129141913.5515-1-ville.syrjala@linux.intel.com Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_debugfs.c')
0 files changed, 0 insertions, 0 deletions