ac/surface: handle error when choosing preferred swizzle mode
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 20 Sep 2017 14:45:48 +0000 (16:45 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 21 Sep 2017 09:00:00 +0000 (11:00 +0200)
commiteb71394ff38d05a42cb8d04fedb6539cc7bbe6fa
tree8400def8335b1fd776f9600e451983a58656ba40
parent34126ed248482b630ca567e4cdb05d4dc1ba016c
ac/surface: handle error when choosing preferred swizzle mode

CID: 1418140
Fixes: c4ac522511d2 ("ac/surface: handle S8 on gfx9")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_surface.c