radeonsi: Use libdrm to get chipset name
authorSamuel Li <Samuel.Li@amd.com>
Tue, 6 Jun 2017 22:21:08 +0000 (18:21 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 7 Jun 2017 19:53:36 +0000 (21:53 +0200)
commitc705caaff9e6cc874e90651d6f8e459741978b06
tree4a1d9da31ed321150576505255ed00368196d5d3
parent4ba4f0e97673bae2d3a8b7e5bac3210a4c2d944e
radeonsi: Use libdrm to get chipset name

v2: Add a func pointer to radeon_winsys to support radeon later.

Change-Id: I614ea71424f9e5c97e4ae68654315d28c89eaa5f
Signed-off-by: Samuel Li <Samuel.Li@amd.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/radeon/radeon_winsys.h
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c