]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/tv: Bypass the vertical filter if possible
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 29 Jan 2019 14:19:13 +0000 (16:19 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 29 Jan 2019 21:27:31 +0000 (23:27 +0200)
commit3b3b895c0fc2da06ef9fe091a83df2ca0dcbb788
treeefe8c51cc36d6d3077023e15365f20c3c48855b0
parent1f945fb3ed12be2be56d7eccc5918f093aca489d
drm/i915/tv: Bypass the vertical filter if possible

Let's switch the pipe into interlaced mode and switch off
the TV encoder vertical filter if the pipe vdisplay
matches the TV YSIZE exactly.

While I didn't measure it I presume this might reduce
the power consumption a little bit, and the pixel rate
is halved as the pipe will now fetching in interlaced
mode rather than in progressive mode (effectively the
same difference as between IF-ID vs. PF-ID pfit modes
on more modern hardware) so a bit easier on the memory
bandwidth.

Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190129141913.5515-2-ville.syrjala@linux.intel.com
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_tv.c