winsys/amdgpu: add an assertion to cik_get_num_tile_pipes (v2)
authorMarek Olšák <marek.olsak@amd.com>
Sat, 30 Jan 2016 00:44:26 +0000 (01:44 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 5 Feb 2016 16:28:18 +0000 (17:28 +0100)
commit0f3556d308f155936c545ed8b9737c5e3f11a620
tree981b6b659ee0e00d89c565efac932726ea621698
parenta2291f7b5740d4843a0b945d1d5826c8b54920bc
winsys/amdgpu: add an assertion to cik_get_num_tile_pipes (v2)

v2: print an error to stderr

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c