[Mesa-dev] [PATCH 2/4] ac/surface: add ac_surface::is_displayable

Daniel Stone daniel at fooishbar.org
Tue Oct 10 11:11:40 UTC 2017


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?

Cheers,
Daniel


More information about the mesa-dev mailing list