summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/output.c
diff options
context:
space:
mode:
authorThierry Reding2014-11-24 16:27:13 +0100
committerThierry Reding2015-01-27 10:14:50 +0100
commit4aa3df7149a00cb061d2ba74e2136cd14a6d885a (patch)
treef51952058fb5501c65f92cbe2c25119117ea1af8 /drivers/gpu/drm/tegra/output.c
parentdrm/tegra: dc: Do not needlessly deassert reset (diff)
downloadkernel-qcow2-linux-4aa3df7149a00cb061d2ba74e2136cd14a6d885a.tar.gz
kernel-qcow2-linux-4aa3df7149a00cb061d2ba74e2136cd14a6d885a.tar.xz
kernel-qcow2-linux-4aa3df7149a00cb061d2ba74e2136cd14a6d885a.zip
drm/tegra: Atomic conversion, phase 1
Implement initial atomic state handling. Hook up the CRTCs, planes' and connectors' ->atomic_destroy_state() callback to ensure that the atomic state objects don't leak. Furthermore the CRTC now implements the ->mode_set_nofb() callback that is used by new helpers to implement ->mode_set() and ->mode_set_base(). These new helpers also make use of the new plane helper functions which the driver now provides. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/output.c')
-rw-r--r--drivers/gpu/drm/tegra/output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/output.c b/drivers/gpu/drm/tegra/output.c
index 8bb66008b8aa..37db47975d48 100644
--- a/drivers/gpu/drm/tegra/output.c
+++ b/drivers/gpu/drm/tegra/output.c
@@ -9,6 +9,7 @@
#include <linux/of_gpio.h>
+#include <drm/drm_atomic_helper.h>
#include <drm/drm_panel.h>
#include "drm.h"