]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5f3b274728b4a2f00456dea48b74d8db12f1f35c
tree87e82f0aaba26d519d108e8df5a83e3462ec01a8
parent9a4c42a83765c45ad3100fe456bfe861f0d9f048
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