Adreno A5XX support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 of 12 patches 16 repliesIn review
9 of 12 patches are in this archive. The cover letter announces 12.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | drm/msm: gpu: Cut down the list of "generic" registers to the ones we usedrivers/ drivers/ drivers/ | +0 | 0 replies | |
| 3/12 | drm/msm: gpu Add new gpu register read/write functionsdrivers/ drivers/ | +41 | 0 replies | |
| 4/12 | drm/msm: Add adreno_gpu_write64()drivers/ drivers/ drivers/ +1 more | +34 | 0 replies | |
| 7/12 | drm/msm: Disable interrupts during initdrivers/ drivers/ | +7 | 0 replies | |
| 8/12 | drm/msm: gpu: Add A5XX target supportdrivers/ drivers/ drivers/ +5 more | +938 | 0 replies | |
| 9/12 | drm/msm: gpu: Add support for the GPMUdrivers/ drivers/ drivers/ +3 more | +431 | 0 replies | |
| 10/12 | firmware: qcom_scm: Add qcom_scm_gpu_zap_resume()drivers/ drivers/ drivers/ +2 more | +30 | 14 replies | |
| 11/12 | drm/msm: Add a quick and dirty PIL loaderdrivers/ | +166 | 2 replies | |
| 12/12 | drm/msm: gpu: Use the zap shader on 5XX if we candrivers/ | +70 | 5 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Jordan Crouse | Stanimir Varbanov |
|---|---|---|
| 1/12 | ||
| 3/12 | ||
| 4/12 | ||
| 7/12 | ||
| 8/12 | ||
| 9/12 | ||
| 10/12 | A-b | A-b |
| 11/12 | ||
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/12] Adreno A5XX support
All, here is initial kernel support for the Adreno A5XX family of GPUs found on the QTI Snapdragon 820 and 821 among others.
This stack turns on the A5XX hardware and initializes the GPMU (Graphics Power Management Unit) which is a microcontroller to assist with more independent power management. This initial stack is mainly concerned with getting the GPU/GPMU operational. Hopefully future improvements will actually tune it for better power.
The last three patches in the stack take the GPU out of "secure" mode. When the GPU is in secure mode it can only read/write from memory that is locked by the secure components of the SoC. By default the GPU comes up in secure mode - to get out of it we need to use SCM to load a special shader that "zaps" the persistent memory and registers and then we can execute a GPU command to take us out of secure. This code should compile cleanly against upstream but there are some changes coming in on other trees to make it functional for the Snapdragon 820/821.
And since the GPU isn't very interesting unless it can draw a triangle or two, Rob Clark has been hard at work on the user side of things and has a great chunk of functionality ready for Mesa:
https://lists.freedesktop.org/archives/freedreno/2016-November/000852.html
So I think this should be everything we need to make the A5XX useful for the community. Please enjoy.
Best regards,
Jordan
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel