[Mesa-dev] [PATCH 4/4] radeonsi: fix Hyper-Z on Stoney

Nicolai Hähnle nhaehnle at gmail.com
Fri Jan 29 07:15:04 PST 2016


On 29.01.2016 15:02, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> Cc: 10.0 10.1 <mesa-stable at lists.freedesktop.org>

"11.0 11.1"


> ---
>   src/gallium/drivers/radeon/r600_texture.c | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c
> index 109b860..38e79f4 100644
> --- a/src/gallium/drivers/radeon/r600_texture.c
> +++ b/src/gallium/drivers/radeon/r600_texture.c
> @@ -533,6 +533,10 @@ static unsigned r600_texture_get_htile_size(struct r600_common_screen *rscreen,
>   	    rscreen->info.drm_major == 2 && rscreen->info.drm_minor < 38)
>   		return 0;
>
> +	/* Overalign HTILE on Stoney to fix piglit/depthstencil-render-miplevels 585. */
> +	if (rscreen->family == CHIP_STONEY)
> +		num_pipes = 4;
> +

I seem to recall problems with this family of tests on Tonga as well at 
some point. Could that be related?

Nicolai

>   	switch (num_pipes) {
>   	case 1:
>   		cl_width = 32;
>


More information about the mesa-dev mailing list