diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2017-11-10 17:09:59 +0100 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2017-12-19 12:49:11 +0100 |
commit | a2ceec52d9a48bd046e5496e266dda1c57872f4b (patch) | |
tree | 4cc2831f0045786572ec927b97ede1c184faf4ba /drivers/gpu/drm/imx | |
parent | 2f64a554435da851a9593115b96bdc67e455047a (diff) | |
download | linux-a2ceec52d9a48bd046e5496e266dda1c57872f4b.tar.bz2 |
gpu: ipu-v3: prg: add modifier support
Allow to pass through the modifier to the PRE unit and extend the
format check with the supported modifiers.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx')
-rw-r--r-- | drivers/gpu/drm/imx/ipuv3-plane.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3-plane.c index 247c60e6bed2..091393cb9659 100644 --- a/drivers/gpu/drm/imx/ipuv3-plane.c +++ b/drivers/gpu/drm/imx/ipuv3-plane.c @@ -550,8 +550,8 @@ static void ipu_plane_atomic_update(struct drm_plane *plane, ipu_prg_channel_configure(ipu_plane->ipu_ch, axi_id, drm_rect_width(&state->src) >> 16, drm_rect_height(&state->src) >> 16, - fb->pitches[0], - fb->format->format, &eba); + fb->pitches[0], fb->format->format, + 0, &eba); } if (old_state->fb && !drm_atomic_crtc_needs_modeset(crtc_state)) { |