[PATCH] drm: atmel-hlcdc: Add dependency on ARM

Guenter Roeck linux at roeck-us.net
Fri Jan 23 12:44:10 PST 2015


On 01/23/2015 12:03 PM, Boris Brezillon wrote:
> The atmel-hlcdc driver selects DRM_GEM_CMA_HELPER which makes use of
> symbols only available when HAVE_DMA_ATTRS is selected.
> Add a dependency on the ARM architecture which select this option.
>
> Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
> ---
>   drivers/gpu/drm/atmel-hlcdc/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/atmel-hlcdc/Kconfig b/drivers/gpu/drm/atmel-hlcdc/Kconfig
> index 1a08562..99b4f06 100644
> --- a/drivers/gpu/drm/atmel-hlcdc/Kconfig
> +++ b/drivers/gpu/drm/atmel-hlcdc/Kconfig
> @@ -1,6 +1,6 @@
>   config DRM_ATMEL_HLCDC
>   	tristate "DRM Support for ATMEL HLCDC Display Controller"
> -	depends on DRM && OF && COMMON_CLK && MFD_ATMEL_HLCDC
> +	depends on DRM && OF && COMMON_CLK && MFD_ATMEL_HLCDC && ARM

&& HAVE_DMA_ATTRS

might have been a bit less restrictive. Are you sure this controller
is never used on any other architecture but arm, not even arm64 ?

Anyway, the xtensa:allmodconfig build is passing again with this patch
applied, so

Tested-by: Guenter Roeck <linux at roeck-us.net>



More information about the dri-devel mailing list