Skip to content

Commit

Permalink
drm/tegra: Move drm to live under host1x
Browse files Browse the repository at this point in the history
Make drm part of host1x driver.

Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
  • Loading branch information
Terje Bergstrom authored and Thierry Reding committed Apr 22, 2013
1 parent 6236451 commit 4231c6b
Show file tree
Hide file tree
Showing 16 changed files with 11 additions and 14 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,6 @@ source "drivers/gpu/drm/cirrus/Kconfig"

source "drivers/gpu/drm/shmobile/Kconfig"

source "drivers/gpu/drm/tegra/Kconfig"

source "drivers/gpu/drm/omapdrm/Kconfig"

source "drivers/gpu/drm/tilcdc/Kconfig"
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ obj-$(CONFIG_DRM_GMA500) += gma500/
obj-$(CONFIG_DRM_UDL) += udl/
obj-$(CONFIG_DRM_AST) += ast/
obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/
obj-$(CONFIG_DRM_TEGRA) += tegra/
obj-$(CONFIG_DRM_OMAP) += omapdrm/
obj-$(CONFIG_DRM_TILCDC) += tilcdc/
obj-$(CONFIG_DRM_QXL) += qxl/
Expand Down
7 changes: 0 additions & 7 deletions drivers/gpu/drm/tegra/Makefile

This file was deleted.

2 changes: 2 additions & 0 deletions drivers/gpu/host1x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ config TEGRA_HOST1X_FIREWALL

If unsure, choose Y.

source "drivers/gpu/host1x/drm/Kconfig"

endif
5 changes: 5 additions & 0 deletions drivers/gpu/host1x/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ host1x-y = \
debug.o \
hw/host1x01.o

ccflags-y += -Iinclude/drm
ccflags-$(CONFIG_DRM_TEGRA_DEBUG) += -DDEBUG

host1x-$(CONFIG_DRM_TEGRA) += drm/drm.o drm/fb.o drm/dc.o drm/host1x.o
host1x-$(CONFIG_DRM_TEGRA) += drm/output.o drm/rgb.o drm/hdmi.o
obj-$(CONFIG_TEGRA_HOST1X) += host1x.o
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config DRM_TEGRA
tristate "NVIDIA Tegra DRM"
depends on DRM && OF && ARCH_TEGRA
depends on DRM && OF
select DRM_KMS_HELPER
select DRM_GEM_CMA_HELPER
select DRM_KMS_CMA_HELPER
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions drivers/gpu/drm/tegra/drm.h → drivers/gpu/host1x/drm/drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* published by the Free Software Foundation.
*/

#ifndef TEGRA_DRM_H
#define TEGRA_DRM_H 1
#ifndef HOST1X_DRM_H
#define HOST1X_DRM_H 1

#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
Expand Down Expand Up @@ -234,4 +234,4 @@ extern struct platform_driver tegra_hdmi_driver;
extern struct platform_driver tegra_dc_driver;
extern struct drm_driver tegra_drm_driver;

#endif /* TEGRA_DRM_H */
#endif /* HOST1X_DRM_H */
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4231c6b

Please sign in to comment.