pipe-loader: use radeonsi for MM if amdgpu dri is used
authorJeremy Newton <Jeremy.Newton@amd.com>
Wed, 10 Jul 2019 14:23:53 +0000 (10:23 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 19 Jul 2019 23:59:02 +0000 (19:59 -0400)
commit666ea30017648197a786dbe26124da791ba6897e
tree470ffc729a94eb27f5ed0912d089a25175a9922e
parent1a25980c469b38d2c6456344fe538ad1bcb47f63
pipe-loader: use radeonsi for MM if amdgpu dri is used

The amdgpu dri is used for the closed source AMD driver. Since this driver
does not implement multimedia, we fall back to radeonsi in mesa to do
multimedia. This corrects the dri driver name for when it is set to amdgpu.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> (v1)
Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c