[POC 13/16] drm/img-rogue: enable img-rogue driver in Kconfig/Makefile

Ulrich Hecht ulrich.hecht+renesas at gmail.com
Wed Nov 15 07:24:20 PST 2017


Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas at gmail.com>
---
 drivers/gpu/drm/Kconfig           | 2 ++
 drivers/gpu/drm/Makefile          | 2 ++
 drivers/gpu/drm/img-rogue/Kconfig | 1 +
 3 files changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 83cb2a8..492188f 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -268,6 +268,8 @@ source "drivers/gpu/drm/hisilicon/Kconfig"
 
 source "drivers/gpu/drm/mediatek/Kconfig"
 
+source "drivers/gpu/drm/img-rogue/Kconfig"
+
 source "drivers/gpu/drm/zte/Kconfig"
 
 source "drivers/gpu/drm/mxsfb/Kconfig"
diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile
index 8ce0703..076fa7d 100644
--- a/drivers/gpu/drm/Makefile
+++ b/drivers/gpu/drm/Makefile
@@ -89,6 +89,8 @@ obj-$(CONFIG_DRM_STM) += stm/
 obj-$(CONFIG_DRM_STI) += sti/
 obj-$(CONFIG_DRM_IMX) += imx/
 obj-$(CONFIG_DRM_MEDIATEK) += mediatek/
+obj-$(CONFIG_DRM_POWERVR_ROGUE_1_6) += img-rogue/1.6/
+obj-$(CONFIG_DRM_POWERVR_ROGUE) += img-rogue/
 obj-$(CONFIG_DRM_MESON)	+= meson/
 obj-y			+= i2c/
 obj-y			+= panel/
diff --git a/drivers/gpu/drm/img-rogue/Kconfig b/drivers/gpu/drm/img-rogue/Kconfig
index 700d89c..78c5110 100644
--- a/drivers/gpu/drm/img-rogue/Kconfig
+++ b/drivers/gpu/drm/img-rogue/Kconfig
@@ -24,6 +24,7 @@ config DRM_POWERVR_ROGUE_1_6
 	select DEVFREQ_GOV_SIMPLE_ONDEMAND
 	select PM_OPP
 	select DEVFREQ_THERMAL
+	select THERMAL
 	help
 	  Driver for PowerVR Rogue graphics hardware, 1.6.
 
-- 
2.7.4




More information about the Linux-mediatek mailing list