[Mesa-dev] [PATCH 2/4] ac/surface: add ac_surface::is_displayable
Marek Olšák
maraeo at gmail.com
Tue Oct 10 17:48:32 UTC 2017
On Tue, Oct 10, 2017 at 1:11 PM, Daniel Stone <daniel at fooishbar.org> wrote:
> Hi Marek,
>
> On 9 October 2017 at 18:05, Marek Olšák <maraeo at gmail.com> wrote:
>> surf->is_linear = surf->u.legacy.level[0].mode == RADEON_SURF_MODE_LINEAR_ALIGNED;
>> + surf->is_displayable = surf->micro_tile_mode == RADEON_MICRO_MODE_DISPLAY ||
>> + surf->micro_tile_mode == RADEON_MICRO_MODE_ROTATED;
>
> Are linear surfaces not displayable on gfx6 parts?
Yes, they are.
Marek
More information about the mesa-dev
mailing list