Maarten Lankhorst b7e0b04ae4 drm/tegra: Convert to using __drm_atomic_helper_crtc_reset() for reset.
Convert tegra to using __drm_atomic_helper_crtc_reset(), instead of
writing its own version. Instead of open coding destroy_state(),
call it directly for freeing the old state.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Jonathan Hunter <jonathanh@nvidia.com>
Cc: linux-tegra@vger.kernel.org
[mlankhorst: Keep tegra_crtc_reset at the same place and predeclare
 tegra_crtc_atomic_destroy_state (tagr)]
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190301125627.7285-15-maarten.lankhorst@linux.intel.com
2019-04-25 11:02:04 +02:00
..
2018-09-26 16:04:39 +02:00
2018-09-26 16:04:56 +02:00
2019-02-11 13:32:49 +10:00
2017-04-05 18:11:47 +02:00
2019-03-27 10:06:02 +01:00
2019-02-11 13:32:49 +10:00
2019-01-24 13:20:42 +01:00
2019-01-16 13:09:32 +01:00
2019-02-11 13:32:49 +10:00
2017-08-17 17:57:14 +02:00
2017-09-26 11:08:17 +02:00