diff options
author | Egbert Eich <eich@suse.de> | 2014-09-24 08:18:32 +0200 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-24 08:07:37 +0100 |
commit | dbe6d105a60ff28419b549d439bbb29f50b28f08 (patch) | |
tree | b1f6e4565947fc7cbfeca5ce0d30b8cc32debe90 /src/sna/sna_trapezoids_mono.c | |
parent | b9dddc051d57b313fdc9f14ec388b060fdff3924 (diff) |
sna: Validate framebuffer tiling before creation
In sna_pixmap_alloc_gpu() a different than the default tiling may be picked
by a usage hint. Before passing the tiling to kgem_create_2d() fix it up
by calling kgem_choose_tiling(). This avoids kgem_surface_size() not being able
to find a surface size for the tiling value.
Fixes regression from
commit a10781b70f222f3997928fa979f6292617f79316 [2.99.913]
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Tue Jul 1 15:11:07 2014 +0100
sna: Enforce LinearFramebuffer option
Signed-off-by: Egbert Eich <eich@freedesktop.org>
Diffstat (limited to 'src/sna/sna_trapezoids_mono.c')
0 files changed, 0 insertions, 0 deletions