Ville Syrjälä a7d08ff19c drm/tegra/dc: 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().

v2: Rebase due to tegra_plane_state_add() relocating to plane.c

Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: linux-tegra@vger.kernel.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171123190502.28449-13-ville.syrjala@linux.intel.com
2018-01-23 17:58:56 +02:00
..
2017-12-21 14:55:55 +01:00
2018-01-12 11:46:19 +10:00
2018-01-12 11:46:19 +10:00
2015-08-13 13:47:45 +02:00
2017-04-05 18:11:47 +02:00
2017-04-05 18:11:47 +02:00
2018-01-12 11:46:19 +10:00
2013-10-31 09:55:45 +01:00
2016-07-04 11:34:31 +02:00
2015-01-27 10:14:40 +01:00
2014-04-04 09:12:51 +02:00
2017-12-13 14:36:36 +01:00
2018-01-18 09:32:15 +10:00
2017-12-13 14:36:37 +01:00
2017-08-17 17:57:14 +02:00
2017-09-26 11:08:17 +02:00
2017-12-21 14:52:36 +01:00
2017-04-05 18:11:48 +02:00