Commit 07741c8
FROMLIST: drm/msm/a6xx: Retrieve gmu core range by index
Some GPUs like A612 doesn't use a named register range resource. This
is because the reg-name property is discouraged when there is just a
single resource.
To address this, retrieve the 'gmu' register range by its index. It is
always guaranteed to be at index 0.
Signed-off-by: Akhil P Oommen <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent 5a22de7 commit 07741c8
1 file changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1902 | 1902 | | |
1903 | 1903 | | |
1904 | 1904 | | |
1905 | | - | |
1906 | | - | |
| 1905 | + | |
1907 | 1906 | | |
| 1907 | + | |
1908 | 1908 | | |
1909 | | - | |
1910 | | - | |
1911 | 1909 | | |
1912 | 1910 | | |
1913 | | - | |
| 1911 | + | |
1914 | 1912 | | |
1915 | 1913 | | |
1916 | 1914 | | |
1917 | 1915 | | |
1918 | 1916 | | |
1919 | | - | |
| 1917 | + | |
1920 | 1918 | | |
1921 | 1919 | | |
1922 | 1920 | | |
| |||
1958 | 1956 | | |
1959 | 1957 | | |
1960 | 1958 | | |
1961 | | - | |
| 1959 | + | |
1962 | 1960 | | |
1963 | 1961 | | |
1964 | 1962 | | |
| |||
2115 | 2113 | | |
2116 | 2114 | | |
2117 | 2115 | | |
2118 | | - | |
| 2116 | + | |
2119 | 2117 | | |
2120 | 2118 | | |
2121 | 2119 | | |
| |||
0 commit comments