aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <[email protected]>2025-06-07 13:52:03 +0000
committerLinus Walleij <[email protected]>2025-06-10 12:35:40 +0000
commit5558f27a58459a4038ebb23bcb5bd40c1e345c57 (patch)
treee43552517a1dfbf9e96fd5bddbd7ca5c69feae95 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentpinctrl: tb10x: Drop of_match_ptr for ID table (diff)
downloadkernel-5558f27a58459a4038ebb23bcb5bd40c1e345c57.tar.gz
kernel-5558f27a58459a4038ebb23bcb5bd40c1e345c57.zip
pinctrl: sunxi: dt: Consider pin base when calculating bank number from pin
In prepare_function_table() when the pinctrl function table IRQ entries are generated, the pin bank is calculated from the absolute pin number; however the IRQ bank mux array is indexed from the first pin bank of the controller. For R_PIO controllers, this means the absolute pin bank is way off from the relative pin bank used for array indexing. Correct this by taking into account the pin base of the controller. Fixes: f5e2cd34b12f ("pinctrl: sunxi: allow reading mux values from DT") Signed-off-by: Chen-Yu Tsai <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions