[PATCH] drm/radeon: fix register typo on si

Christian König deathsimple at vodafone.de
Tue May 13 05:38:30 PDT 2014


Am 05.05.2014 22:40, schrieb Alex Deucher:
> Probably a copy paste typo.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> Cc: stable at vger.kernel.org

Added to my 3.15 queue.

Christian.

> ---
>   drivers/gpu/drm/radeon/sid.h | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/sid.h b/drivers/gpu/drm/radeon/sid.h
> index 683532f..7321283 100644
> --- a/drivers/gpu/drm/radeon/sid.h
> +++ b/drivers/gpu/drm/radeon/sid.h
> @@ -107,8 +107,8 @@
>   #define		SPLL_CHG_STATUS				(1 << 1)
>   #define	SPLL_CNTL_MODE					0x618
>   #define		SPLL_SW_DIR_CONTROL			(1 << 0)
> -#	define SPLL_REFCLK_SEL(x)			((x) << 8)
> -#	define SPLL_REFCLK_SEL_MASK			0xFF00
> +#	define SPLL_REFCLK_SEL(x)			((x) << 26)
> +#	define SPLL_REFCLK_SEL_MASK			(3 << 26)
>   
>   #define	CG_SPLL_SPREAD_SPECTRUM				0x620
>   #define		SSEN					(1 << 0)



More information about the dri-devel mailing list