diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-11-23 22:04:54 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-01-23 18:41:45 +0300 |
commit | bd6120dbcb56a668401a2a3835aab46934bbb701 (patch) | |
tree | f5ed8042bf79b75d53c26449ea809ea4ca32f438 /drivers/gpu/drm/meson/meson_plane.c | |
parent | 06edb0a0cf5b2abc5d36bbb8039eab04fb1006f0 (diff) | |
download | linux-bd6120dbcb56a668401a2a3835aab46934bbb701.tar.xz |
drm/mediatek: Use drm_mode_get_hv_timing() to populate plane clip rectangle
Use drm_mode_get_hv_timing() to fill out the plane clip rectangle.
No functional changes as the code already uses crtc_state->mode
to populate the clip, which is also what drm_mode_get_hv_timing()
uses.
Once everyone agrees on this we can move the clip handling into
drm_atomic_helper_check_plane_state().
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: CK Hu <ck.hu@mediatek.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171123190502.28449-8-ville.syrjala@linux.intel.com
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/meson/meson_plane.c')
0 files changed, 0 insertions, 0 deletions