]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: drop qcom,chipid
authorRob Clark <robdclark@gmail.com>
Mon, 30 Jan 2017 16:02:27 +0000 (11:02 -0500)
committerRob Clark <robdclark@gmail.com>
Mon, 6 Feb 2017 16:28:42 +0000 (11:28 -0500)
commit3afa75cbba01a50909994caf6294361c5219b102
tree04e26a45c9866987c36c6b4975b8543a218e189d
parente8213b7f5829bb443f30e02cff9bab09e1514392
drm/msm: drop qcom,chipid

The original way we determined the gpu version was based on downstream
bindings from android kernel.  A cleaner way is to get the version from
the compatible string.

Note that no upstream dtb uses these bindings.  But the code still
supports falling back to the legacy bindings (with a warning), so that
we are still compatible with the gpu dt node from android device
kernels.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/display/msm/gpu.txt
drivers/gpu/drm/msm/adreno/adreno_device.c
drivers/gpu/drm/msm/msm_drv.c