[PATCH] drm/radeon/kms: add support for internal thermal sensors (v2)

Julien Cristau jcristau at debian.org
Wed Jun 2 04:55:28 PDT 2010


On Tue, Jun  1, 2010 at 18:52:30 -0400, Alex Deucher wrote:

> diff --git a/drivers/gpu/drm/radeon/Kconfig b/drivers/gpu/drm/radeon/Kconfig
> index 80c5b3e..2e3896d 100644
> --- a/drivers/gpu/drm/radeon/Kconfig
> +++ b/drivers/gpu/drm/radeon/Kconfig
> @@ -2,6 +2,7 @@ config DRM_RADEON_KMS
>  	bool "Enable modesetting on radeon by default - NEW DRIVER"
>  	depends on DRM_RADEON
>  	depends on POWER_SUPPLY
> +	depends on HWMON
>  	help
>  	  Choose this option if you want kernel modesetting enabled by default.
>  
Shouldn't these be under CONFIG_DRM_RADEON, with _KMS only changing the
default value of the modeset parameter?  Otherwise you could still try
to build the driver with _KMS off, and CONFIG_HWMON disabled (which I
assume is going to fail).

Cheers,
Julien


More information about the dri-devel mailing list