Re: [PATCH 1/2] drm/radeon: add some additional 6xx/7xx/EG register init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Don, 2012-06-14 at 22:06 +0200, Marek Olšák wrote: 
> From: Alex Deucher <alexander.deucher@xxxxxxx>
> 
> - SMX_SAR_CTL0 needs to be programmed correctly to prevent
> problems with memory exports in certain cases.
> - VC_ENHANCE needs to be initialized on 6xx/7xx.
> 
> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
> ---
>  drivers/gpu/drm/radeon/evergreen.c  |    3 +++
>  drivers/gpu/drm/radeon/evergreend.h |    1 +
>  drivers/gpu/drm/radeon/r600.c       |    1 +
>  drivers/gpu/drm/radeon/r600d.h      |    1 +
>  drivers/gpu/drm/radeon/rv770.c      |    5 ++++-
>  drivers/gpu/drm/radeon/rv770d.h     |    3 +++
>  6 files changed, 13 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
> index 01550d0..7fb3d2e 100644
> --- a/drivers/gpu/drm/radeon/evergreen.c
> +++ b/drivers/gpu/drm/radeon/evergreen.c
> @@ -1932,6 +1932,9 @@ static void evergreen_gpu_init(struct radeon_device *rdev)
>  	smx_dc_ctl0 |= NUMBER_OF_SETS(rdev->config.evergreen.sx_num_of_sets);
>  	WREG32(SMX_DC_CTL0, smx_dc_ctl0);
>  
> +	if (rdev->family <= CHIP_SUMO2)
> +		WREG32(SMX_SAR_CTL0, 0x00010000);
> +

What about later generations? AFAICT Cayman (and thus maybe also Aruba)
still has this register.


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux