[Mesa-dev] [PATCH] winsys/radeon: fix a wrong NUM_TILE_PIPES value from the kernel

Alexandre Demers alexandre.f.demers at gmail.com
Tue Feb 9 17:17:29 UTC 2016


> +            /* The kernel returns 12 for some cards for an unknown
reason.
> +             * I thought this was supposed to be a power of two.
> +             */
> +            if (ws->gen == DRV_SI && ws->info.num_tile_pipes == 12)
> +                ws->info.num_tile_pipes = 8;
> +

I may be late in the conversation, but shouldn't we have a look at why the
value reported by the kernel is wrong for "some" cards? Which ones and why
should be identified. It seems to be limited to Southern Islands as far as
we know for now, which limits the scope for now.

Also, about the patch itself, even if only some cards were reported to be
problematic, why would we limit it to "ws->gen == DRV_SI"? Any cards
reporting a wrong value should be treated the same way by mapping its value
from 12 to 8, no?

My late two cents here.
Alexandre Demers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160209/ca98badd/attachment.html>


More information about the mesa-dev mailing list