RFC drm/imagination: add AM62P/AM67A/J722S support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dt-bindings: gpu: img: Add AM62P SoC specific compatibleDocumentation/ | +1 | 2 replies | |
| 2/3 | drm/imagination: fix clock control on the J722Sdrivers/ | +9 | 1 reply | |
| 3/3 | arm64: dts: ti: add GPU nodearch/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] drm/imagination: add AM62P/AM67A/J722S support
The AM62P and AM67A/J722S feature the same BXS-4 GPU as the J721S2. In theory, one have to just add the DT node. But it turns out, that the clock handling is not working. If I understood Nishan Menon correct, it is working on the J721S2 because there, the clock is shared, while on the AM62P the GPU has its own PLL.
In the latter case, the '#assigned-clocks' property of the GPU node doesn't work properly. Linux will try to set the clock frequency before probing the GPU. The clock handling firmware on the SoC won't allow that if there is no user for it. To work around that limitation, set the clock again in the .probe() of the GPU driver after turning the device on.
This was tested on an AM67A.
Michael Walle (3):
dt-bindings: gpu: img: Add AM62P SoC specific compatible drm/imagination: fix clock control on the J722S
arm64: dts: ti: add GPU node
.../devicetree/bindings/gpu/img,powervr-rogue.yaml | 1 + .../boot/dts/ti/k3-am62p-j722s-common-main.dtsi | 13 +++++++++++++ drivers/gpu/drm/imagination/pvr_device.c | 9 +++++++++ 3 files changed, 23 insertions(+)
Signature · 1 line
2.39.5