OSDN Git Service

ac/surface: fix hybrid graphics where APU=GFX9, dGPU=older
authorMarek Olšák <marek.olsak@amd.com>
Mon, 24 Jul 2017 22:08:55 +0000 (00:08 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 26 Jul 2017 17:53:26 +0000 (19:53 +0200)
commit5e81df0f103667d888bd346e148843f510a80adc
treea10ceaf2cd0f6cbd916e5059bb5bd63175180bc4
parented2b3f5c81b76281ff0e4728928ac55944b930b8
ac/surface: fix hybrid graphics where APU=GFX9, dGPU=older

v2: don't do it for compressed textures (bpp = 0)

Cc: 17.2 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> (v1)
src/amd/common/ac_surface.c