mbox series

[0/3] drm/sun4i: DE2/DE3 improvements

Message ID 20190228200329.11128-1-jernej.skrabec@siol.net (mailing list archive)
Headers show
Series drm/sun4i: DE2/DE3 improvements | expand

Message

Jernej Škrabec Feb. 28, 2019, 8:03 p.m. UTC
DE2 and DE3 VI channels support coarse scaling to overcome VI scaler
limitations. That is especially useful for downscaling big planes, for
example 4K to 1080p.

Following patches were tested on H3 and A64 with 4K video playback on
1080p monitor. Without them, picture was mangled.

Please take a look.

Best regards,
Jernej

Jernej Skrabec (3):
  clk: sunxi-ng: Allow DE clock to set parent rate
  drm/sun4i: Add VI scaler line size quirk for DE2/DE3
  drm/sun4i: Improve VI scaling for DE2/DE3

 drivers/clk/sunxi-ng/ccu-sun50i-a64.c  |  3 +-
 drivers/clk/sunxi-ng/ccu-sun50i-h6.c   |  2 +-
 drivers/clk/sunxi-ng/ccu-sun8i-v3s.c   |  3 +-
 drivers/gpu/drm/sun4i/sun8i_mixer.c    |  9 +++++
 drivers/gpu/drm/sun4i/sun8i_mixer.h    |  2 +
 drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 54 ++++++++++++++++++++++++--
 drivers/gpu/drm/sun4i/sun8i_vi_layer.h | 11 ++++++
 7 files changed, 78 insertions(+), 6 deletions(-)

Comments

Maxime Ripard March 1, 2019, 2:59 p.m. UTC | #1
On Thu, Feb 28, 2019 at 09:03:26PM +0100, Jernej Skrabec wrote:
> DE2 and DE3 VI channels support coarse scaling to overcome VI scaler
> limitations. That is especially useful for downscaling big planes, for
> example 4K to 1080p.
> 
> Following patches were tested on H3 and A64 with 4K video playback on
> 1080p monitor. Without them, picture was mangled.

Applied all three, thanks!
Maxime