drm/msm/adreno: deal with linux-firmware fw paths
authorRob Clark <robdclark@gmail.com>
Mon, 16 Oct 2017 14:46:23 +0000 (10:46 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 28 Oct 2017 15:01:31 +0000 (11:01 -0400)
commit2c41ef1b6f7d791f61a09bbabbb4f8fc4736d508
treebe5d12a3898737de03aefad36cac7576d946dfc9
parente8f3de96a9d36813beba892fec18b05a1e39a122
drm/msm/adreno: deal with linux-firmware fw paths

When firmware was added to linux-firmware, it was put in a qcom sub-
directory, unlike what we'd been using before.  For a300_pfp.fw and
a300_pm4.fw symlinks were created, but we'd prefer not to have to do
this in the future.  So add support to look in both places when
loading firmware.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/a5xx_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.h