[Intel-gfx] [PATCH] Allocate a correctly sized framebuffer when tiling by using libdrm support.

Chris Wilson chris at chris-wilson.co.uk
Mon Jun 7 16:00:50 CEST 2010


On Sun,  6 Jun 2010 23:49:09 -0700, Eric Anholt <eric at anholt.net> wrote:
> When I made libdrm stop overallocating so much memory for the purpose
> of bo caching, things started scribbling on the bottom of my
> frontbuffer (and vice versa, leading to GPU hangs).  We had the usual
> mistake of size = tiled_pitch * height instead of size = tiled_pitch *
> tile_aligned_height.

Hmm, something is fishy after applying the patch. The framebuffer pitch
for the 1920x1080 external display looks to be off by 2.
-ickle

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list