linux/drivers/gpu/drm/amd/amdgpu
Aaron Ma 74edc32fda drm/amdgpu: Fix oops when pp_funcs is unset in ACPI event
commit 5932d260a8 upstream.

On ARCTURUS and RENOIR, powerplay is not supported yet.
When plug in or unplug power jack, ACPI event will issue.
Then kernel NULL pointer BUG will be triggered.
Check for NULL pointers before calling.

Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-10 10:30:10 +02:00
..
amdgpu_acp.c
amdgpu_acp.h
amdgpu_acpi.c
amdgpu_afmt.c
amdgpu_amdkfd_fence.c
amdgpu_amdkfd_gfx_v7.c
amdgpu_amdkfd_gfx_v8.c
amdgpu_amdkfd_gfx_v9.c
amdgpu_amdkfd_gpuvm.c
amdgpu_amdkfd.c
amdgpu_amdkfd.h
amdgpu_atombios.c drm/amd/display: remove duplicated assignment to grph_obj_type 2020-03-18 07:14:20 +01:00
amdgpu_atombios.h
amdgpu_atomfirmware.c
amdgpu_atomfirmware.h
amdgpu_atpx_handler.c drm/amdgpu: Add APTX quirk for Dell Latitude 5495 2019-09-06 10:22:19 +02:00
amdgpu_benchmark.c
amdgpu_bios.c
amdgpu_bo_list.c drm/amdgpu: fix memory leak 2019-11-06 13:06:02 +01:00
amdgpu_bo_list.h
amdgpu_cgs.c
amdgpu_connectors.c
amdgpu_connectors.h
amdgpu_cs.c
amdgpu_ctx.c
amdgpu_debugfs.c drm/amd/amdgpu: Fix GPR read from debugfs (v2) 2020-03-25 08:06:12 +01:00
amdgpu_debugfs.h
amdgpu_device.c
amdgpu_display.c
amdgpu_display.h
amdgpu_dpm.c
amdgpu_dpm.h
amdgpu_drv.c drm/amdgpu: Bail earlier when amdgpu.cik_/si_support is not set to 1 2019-10-29 09:19:55 +01:00
amdgpu_drv.h
amdgpu_encoders.c
amdgpu_fb.c
amdgpu_fence.c
amdgpu_gart.c
amdgpu_gart.h
amdgpu_gds.h
amdgpu_gem.c
amdgpu_gfx.c
amdgpu_gfx.h
amdgpu_gmc.h amdgpu/gmc_v9: save/restore sdpif regs during S3 2020-03-05 16:42:18 +01:00
amdgpu_gtt_mgr.c
amdgpu_i2c.c
amdgpu_i2c.h
amdgpu_ib.c drm/amdgpu: Fix KFD-related kernel oops on Hawaii 2019-10-11 18:21:16 +02:00
amdgpu_ids.c
amdgpu_ids.h
amdgpu_ih.c
amdgpu_ih.h
amdgpu_ioc32.c
amdgpu_irq.c
amdgpu_irq.h
amdgpu_job.c drm/amdgpu: If amdgpu_ib_schedule fails return back the error. 2019-11-12 19:21:14 +01:00
amdgpu_job.h
amdgpu_kms.c drm/amdgpu: Bail earlier when amdgpu.cik_/si_support is not set to 1 2019-10-29 09:19:55 +01:00
amdgpu_mn.c
amdgpu_mn.h
amdgpu_mode.h
amdgpu_object.c drm/amdgpu: fix potential VM faults 2019-11-10 11:27:27 +01:00
amdgpu_object.h
amdgpu_pll.c
amdgpu_pll.h
amdgpu_pm.c drm/amdgpu: Fix oops when pp_funcs is unset in ACPI event 2020-05-10 10:30:10 +02:00
amdgpu_pm.h
amdgpu_prime.c
amdgpu_psp.c
amdgpu_psp.h
amdgpu_queue_mgr.c
amdgpu_ring.c
amdgpu_ring.h
amdgpu_sa.c
amdgpu_sched.c
amdgpu_sched.h
amdgpu_sync.c
amdgpu_sync.h
amdgpu_test.c drm/amdgpu: fix potential double drop fence reference 2019-12-31 16:35:49 +01:00
amdgpu_trace_points.c
amdgpu_trace.h
amdgpu_ttm.c
amdgpu_ttm.h
amdgpu_ucode.c
amdgpu_ucode.h
amdgpu_uvd.c
amdgpu_uvd.h
amdgpu_vce.c drm/amdgpu: fix ring test failure issue during s3 in vce 3.0 (V2) 2019-09-16 08:22:15 +02:00
amdgpu_vce.h
amdgpu_vcn.c drm/amdgpu/{uvd,vcn}: fetch ring's read_ptr after alloc 2019-09-16 08:22:15 +02:00
amdgpu_vcn.h
amdgpu_vf_error.c
amdgpu_vf_error.h
amdgpu_virt.c
amdgpu_virt.h
amdgpu_vm.c drm/amdgpu: fix uninitialized variable pasid_mapping_needed 2019-12-31 16:36:19 +01:00
amdgpu_vm.h
amdgpu_vram_mgr.c
amdgpu.h
atom.c
atom.h
atombios_crtc.c
atombios_crtc.h
atombios_dp.c
atombios_dp.h
atombios_encoders.c
atombios_encoders.h
atombios_i2c.c
atombios_i2c.h
ci_dpm.c
ci_dpm.h
ci_smc.c
cik_dpm.h
cik_ih.c
cik_ih.h
cik_sdma.c
cik_sdma.h
cik.c
cik.h
cikd.h
clearstate_ci.h
clearstate_defs.h
clearstate_gfx9.h
clearstate_si.h
clearstate_vi.h
cz_ih.c
cz_ih.h
dce_v6_0.c
dce_v6_0.h
dce_v8_0.c
dce_v8_0.h
dce_v10_0.c
dce_v10_0.h
dce_v11_0.c
dce_v11_0.h
dce_virtual.c
dce_virtual.h
df_v1_7.c
df_v1_7.h
df_v3_6.c drm/amdgpu: add check before enabling/disabling broadcast mode 2020-01-09 10:18:55 +01:00
df_v3_6.h
emu_soc.c
gfx_v6_0.c
gfx_v6_0.h
gfx_v7_0.c
gfx_v7_0.h
gfx_v8_0.c drm/amdgpu: add cache flush workaround to gfx8 emit_fence 2020-01-09 10:18:55 +01:00
gfx_v8_0.h
gfx_v9_0.c drm/amdgpu: disallow direct upload save restore list from gfx driver 2019-12-31 16:35:48 +01:00
gfx_v9_0.h
gfxhub_v1_0.c
gfxhub_v1_0.h
gmc_v6_0.c
gmc_v6_0.h
gmc_v7_0.c
gmc_v7_0.h
gmc_v8_0.c
gmc_v8_0.h
gmc_v9_0.c amdgpu/gmc_v9: save/restore sdpif regs during S3 2020-03-05 16:42:18 +01:00
gmc_v9_0.h
iceland_ih.c
iceland_ih.h
iceland_sdma_pkt_open.h
Kconfig
kv_dpm.c
kv_dpm.h
kv_smc.c
Makefile
mmhub_v1_0.c
mmhub_v1_0.h
mmsch_v1_0.h
mxgpu_ai.c
mxgpu_ai.h
mxgpu_vi.c
mxgpu_vi.h
nbio_v6_1.c
nbio_v6_1.h
nbio_v7_0.c
nbio_v7_0.h
ObjectID.h
ppsmc.h
psp_gfx_if.h
psp_v3_1.c
psp_v3_1.h
psp_v10_0.c
psp_v10_0.h
r600_dpm.h
sdma_v2_4.c
sdma_v2_4.h
sdma_v3_0.c
sdma_v3_0.h
sdma_v4_0.c
sdma_v4_0.h
si_dma.c
si_dma.h
si_dpm.c
si_dpm.h
si_enums.h
si_ih.c drm/amdgpu: fix bad DMA from INTERRUPT_CNTL2 2019-12-31 16:36:15 +01:00
si_ih.h
si_smc.c
si.c drm/amdgpu/si: fix ASIC tests 2019-10-07 18:56:58 +02:00
si.h
sid.h
sislands_smc.h
soc15_common.h drm/amdgpu: Ensure ret is always initialized when using SOC15_WAIT_ON_RREG 2020-02-24 08:34:40 +01:00
soc15.c drm/amdgpu/soc15: fix xclk for raven 2020-02-28 16:38:50 +01:00
soc15.h
soc15d.h
tonga_ih.c
tonga_ih.h
tonga_sdma_pkt_open.h
uvd_v4_2.c
uvd_v4_2.h
uvd_v5_0.c
uvd_v5_0.h
uvd_v6_0.c drm/amdgpu/{uvd,vcn}: fetch ring's read_ptr after alloc 2019-09-16 08:22:15 +02:00
uvd_v6_0.h
uvd_v7_0.c drm/amdgpu/{uvd,vcn}: fetch ring's read_ptr after alloc 2019-09-16 08:22:15 +02:00
uvd_v7_0.h
vce_v2_0.c
vce_v2_0.h
vce_v3_0.c
vce_v3_0.h
vce_v4_0.c
vce_v4_0.h
vcn_v1_0.c drm/amdgpu: fix typo for vcn1 idle check 2020-04-13 10:45:00 +02:00
vcn_v1_0.h
vega10_ih.c
vega10_ih.h
vega10_reg_init.c
vega10_sdma_pkt_open.h
vega20_reg_init.c
vi_dpm.h
vi.c
vi.h
vid.h