I suggest you compare pitch_tile_max between the color surface and fmask. If it's different, then I think radeon_surface should use the color surface pitch instead of calculating a separate fmask pitch.
I don't have any docs for r600-r700, but I have an old address lib that only contains r600-r800 support. You might have the same thing in tcore, not sure. Marek On Fri, Dec 12, 2014 at 6:07 AM, Dave Airlie <[email protected]> wrote: > On 11 December 2014 at 06:45, Marek Olšák <[email protected]> wrote: >> It uses the libdrm surface allocator and FMASK is 2D tiled. Maybe the >> rounding of bpp affects the pitch in a bad way. >> > > I found this sentence hidden in tcore fmask allocator. > > // Note that pitch_tile_max is shared with the color surface and must be > padded > > That reads to me that the fmask pitch needs to align with the color > surface pitch, > > Maybe you guys can dig me out some more info on where this applies. > > Dave. _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
