winsys/radeon: check null return from radeon_cs_create_fence in cs_flush
authorJulien Isorce <julien.isorce@gmail.com>
Fri, 10 Mar 2017 17:20:56 +0000 (17:20 +0000)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 13 Mar 2017 16:19:29 +0000 (17:19 +0100)
commitd08c0930af8aaef5bdf80df618bb906e0b349830
tree5f66a73be9c6544cb7304afe8442e6b2f4e2dc09
parentd09edb01468ca385b6a8ffe29ac434dc42a78d07
winsys/radeon: check null return from radeon_cs_create_fence in cs_flush

Follow-up of patch:
"radeon_cs_create_fence: check null return from radeon_winsys_bo_create"

radeon_drm_cs_flush
  radeon_cs_create_fence
    radeon_winsys_bo_create

Signed-off-by: Julien Isorce <jisorce@oblong.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_cs.c