Re: [Spice-devel] [PATCH v3 12/23] drm/qxl: track primary bo

2019-01-27 Thread Noralf Trønnes
Den 18.01.2019 13.20, skrev Gerd Hoffmann: > Track which bo is used as primary surface. With that in place we don't > need the primary_created flag any more, we can just check the primary bo > pointer instead. > > Also verify we don't already have a primary surface in > qxl_io_create_primary().

[Spice-devel] [PATCH v3 12/23] drm/qxl: track primary bo

2019-01-18 Thread Gerd Hoffmann
Track which bo is used as primary surface. With that in place we don't need the primary_created flag any more, we can just check the primary bo pointer instead. Also verify we don't already have a primary surface in qxl_io_create_primary(). Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/