summaryrefslogtreecommitdiff
path: root/drivers/gpu/host1x/drm
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-09-24 13:59:01 +0200
committerThierry Reding <treding@nvidia.com>2013-10-31 09:20:10 +0100
commite1e906448d2fc6f5a69e1967e00868f0cbfbb566 (patch)
tree7b28d7de7569a338f6d219b62edc9b14007411f4 /drivers/gpu/host1x/drm
parent3be8274341499cfc258eddda29f626d7be10dde5 (diff)
gpu: host1x: Make host1x header file public
In preparation to support host1x clients other than DRM, move this header into a public location. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/drm')
-rw-r--r--drivers/gpu/host1x/drm/drm.h6
-rw-r--r--drivers/gpu/host1x/drm/gr2d.c1
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/host1x/drm/drm.h b/drivers/gpu/host1x/drm/drm.h
index dd6b98b18640..78754f6a9153 100644
--- a/drivers/gpu/host1x/drm/drm.h
+++ b/drivers/gpu/host1x/drm/drm.h
@@ -10,14 +10,14 @@
#ifndef HOST1X_DRM_H
#define HOST1X_DRM_H 1
+#include <uapi/drm/tegra_drm.h>
+#include <linux/host1x.h>
+
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_edid.h>
#include <drm/drm_fb_helper.h>
#include <drm/drm_fixed.h>
-#include <uapi/drm/tegra_drm.h>
-
-#include "host1x.h"
struct tegra_fb {
struct drm_framebuffer base;
diff --git a/drivers/gpu/host1x/drm/gr2d.c b/drivers/gpu/host1x/drm/gr2d.c
index f045f7c0a91c..2691e333e0e2 100644
--- a/drivers/gpu/host1x/drm/gr2d.c
+++ b/drivers/gpu/host1x/drm/gr2d.c
@@ -20,7 +20,6 @@
#include "drm.h"
#include "gem.h"
#include "job.h"
-#include "host1x.h"
#include "host1x_bo.h"
#include "host1x_client.h"
#include "syncpt.h"