drm/msm: gpu: Use OPP tables if we can
authorJordan Crouse <jcrouse@codeaurora.org>
Tue, 7 Mar 2017 17:02:55 +0000 (10:02 -0700)
committerRob Clark <robdclark@gmail.com>
Sat, 8 Apr 2017 10:59:37 +0000 (06:59 -0400)
commite2af8b6b0ca1f55e9b2c8a034c352c56ae054066
tree87e82f0aaba26d519d108e8df5a83e3462ec01a8
parentbf5af4ae875d8803db98d38ed988c2ec4c941a00
drm/msm: gpu: Use OPP tables if we can

If a OPP table is defined for the GPU device in the device tree use
that in lieu of the downstream style GPU frequency table. If we do
use the downstream table convert it to a OPP table so that we can
take advantage of the OPP lookup facilities later.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/adreno_device.c