[PATCH v16 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

Andy Yan andy.yan at rock-chips.com
Wed Dec 3 08:01:25 PST 2014


Hi Russell:

On 2014年12月03日 23:45, Russell King - ARM Linux wrote:
> On Wed, Dec 03, 2014 at 11:32:12PM +0800, Andy Yan wrote:
>> diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig
>> index 884923f..26162ef 100644
>> --- a/drivers/gpu/drm/bridge/Kconfig
>> +++ b/drivers/gpu/drm/bridge/Kconfig
>> @@ -3,3 +3,8 @@ config DRM_PTN3460
>>   	depends on DRM
>>   	select DRM_KMS_HELPER
>>   	---help---
>> +
>> +config DRM_DW_HDMI
>> +	bool "Synopsys DesignWare High-Definition Multimedia Interface"
>> +	depends on DRM
>> +	select DRM_KMS_HELPER
> ...
>> diff --git a/drivers/gpu/drm/imx/Kconfig b/drivers/gpu/drm/imx/Kconfig
>> index 82fb758..7070077 100644
>> --- a/drivers/gpu/drm/imx/Kconfig
>> +++ b/drivers/gpu/drm/imx/Kconfig
>> @@ -48,6 +48,7 @@ config DRM_IMX_IPUV3
>>   
>>   config DRM_IMX_HDMI
>>   	tristate "Freescale i.MX DRM HDMI"
>> +	select DRM_DW_HDMI
>>   	depends on DRM_IMX
>>   	help
>>   	  Choose this if you want to use HDMI on i.MX6.
> I'd recommend that if you want to select DRM_DW_HDMI, then don't give
> DRM_DW_HDMI a prompt message.  I assume you're going to do something
> similar with your Rockchip driver too - in which case DRM_DW_HDMI is
> really about building a library module.
   Do you mean I just neet to do like bellow?

+
+config DRM_DW_HDMI
+	bool
+	depends on DRM
+	select DRM_KMS_HELPER





More information about the dri-devel mailing list