aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorThéo Lebrun <[email protected]>2025-02-05 17:36:51 +0000
committerGreg Kroah-Hartman <[email protected]>2025-03-14 08:18:02 +0000
commit9925aa4b025e46cffc9fc98c5fb28a4a303a739b (patch)
tree59023b7be62cbeb7d119e472823b61396e0c8fca /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentusb: cdns3-ti: move reg writes to separate function (diff)
downloadkernel-9925aa4b025e46cffc9fc98c5fb28a4a303a739b.tar.gz
kernel-9925aa4b025e46cffc9fc98c5fb28a4a303a739b.zip
usb: cdns3-ti: run HW init at resume() if HW was reset
At runtime_resume(), read the W1 (Wrapper Register 1) register to detect if an hardware reset occurred. If it did, run the hardware init sequence. This callback will be called at system-wide resume. Previously, if a reset occurred during suspend, we would crash. The wrapper config had not been written, leading to invalid register accesses inside cdns3. Signed-off-by: Théo Lebrun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions