Star64_linux/drivers/gpu/drm/amd/amdgpu
Arindam Nath dd31ae9ac9 drm/amd/amdgpu: enable GUI idle INT after enabling CGCG
GUI idle interrupts should be enabled only after we
have enabled coarse grain clock gating (CGCG). This
prevents GFX engine generating idle interrupt even
though CGCG is not completely enabled.

Most of the time this goes un-noticed, but on some
Stoney ASICs this results in GFX engine hang after
system resumes from suspend. The issue is not
particular to Stoney though and could have occured
on any ASIC. The patch fixes this issue.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reported-by: Sunil Uttarwar <Sunil.Uttarwar1@amd.com>
Signed-off-by: Arindam Nath <arindam.nath@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2016-12-06 18:08:26 -05:00
..
amdgpu.h Revert "drm/amdgpu: use the kernel zone memory size as the max remote memory in amdgpu" 2016-12-06 18:08:21 -05:00
amdgpu_acp.c drm/virtio: fix busid in a different way, allocate more vbufs. 2016-11-30 14:18:51 +10:00
amdgpu_acp.h
amdgpu_acpi.c
amdgpu_afmt.c
amdgpu_amdkfd.c
amdgpu_amdkfd.h
amdgpu_amdkfd_gfx_v7.c
amdgpu_amdkfd_gfx_v8.c
amdgpu_atombios.c
amdgpu_atombios.h
amdgpu_atpx_handler.c drm/amdgpu: fix check for port PM availability 2016-11-29 09:23:39 -05:00
amdgpu_benchmark.c
amdgpu_bios.c drm/amd/amdgpu : Fix NULL pointer comparison 2016-11-11 10:21:07 -05:00
amdgpu_bo_list.c drm/amdgpu: Attach exclusive fence to prime exported bo's. (v5) 2016-11-11 10:20:04 -05:00
amdgpu_cgs.c drm/amdgpu: remove error message when loading driver 2016-12-06 18:08:24 -05:00
amdgpu_connectors.c drm/virtio: fix busid in a different way, allocate more vbufs. 2016-11-30 14:18:51 +10:00
amdgpu_connectors.h
amdgpu_cs.c drm/amdgpu: remove amdgpu_cs_handle_lockup 2016-11-11 10:20:55 -05:00
amdgpu_ctx.c
amdgpu_device.c Merge branch 'drm-next-4.10' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-12-06 11:01:33 +10:00
amdgpu_display.c
amdgpu_dpm.c
amdgpu_dpm.h drm/amdgpu: use mask bit for deep sleep feature on dpm. 2016-11-11 10:21:01 -05:00
amdgpu_drv.c Merge branch 'drm-next-4.10' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-12-06 11:01:33 +10:00
amdgpu_drv.h
amdgpu_encoders.c
amdgpu_fb.c drm/amdgpu: use DRM_FB_HELPER_DEFAULT_OPS for fb_ops 2016-11-14 07:54:04 +01:00
amdgpu_fence.c drm/amdgpu:no gpu scheduler for KIQ 2016-11-11 10:20:58 -05:00
amdgpu_gart.c
amdgpu_gds.h
amdgpu_gem.c
amdgpu_gfx.c
amdgpu_gfx.h
amdgpu_gtt_mgr.c
amdgpu_i2c.c
amdgpu_i2c.h
amdgpu_ib.c
amdgpu_ih.c
amdgpu_ih.h
amdgpu_ioc32.c
amdgpu_irq.c drm/amdgpu: remove amdgpu_irq_get_delayed 2016-11-23 15:08:43 -05:00
amdgpu_irq.h drm/amdgpu: remove amdgpu_irq_get_delayed 2016-11-23 15:08:43 -05:00
amdgpu_job.c
amdgpu_kms.c drm/virtio: fix busid in a different way, allocate more vbufs. 2016-11-30 14:18:51 +10:00
amdgpu_mn.c
amdgpu_mode.h drm/amdgpu: drop is_display_hung from display funcs 2016-11-23 15:13:21 -05:00
amdgpu_object.c drm/amdgpu: improve AMDGPU_GEM_CREATE_VRAM_CLEARED handling (v2) 2016-11-23 15:08:45 -05:00
amdgpu_object.h
amdgpu_pll.c
amdgpu_pll.h
amdgpu_pm.c drm/amd/amdgpu: expose fan rpm though hwmon 2016-11-11 10:20:56 -05:00
amdgpu_pm.h
amdgpu_powerplay.c drm/amdgpu: Disable DPM in virtualization 2016-11-23 15:08:46 -05:00
amdgpu_powerplay.h
amdgpu_prime.c drm/amdgpu: Attach exclusive fence to prime exported bo's. (v5) 2016-11-11 10:20:04 -05:00
amdgpu_ring.c
amdgpu_ring.h drm/amdgpu: Add a ring type KIQ definition 2016-11-11 10:20:58 -05:00
amdgpu_sa.c drm/amd/amdgpu : Fix NULL pointer comparison 2016-11-11 10:21:07 -05:00
amdgpu_sync.c
amdgpu_sync.h
amdgpu_test.c
amdgpu_trace.h
amdgpu_trace_points.c
amdgpu_ttm.c Revert "drm/amdgpu: use the kernel zone memory size as the max remote memory in amdgpu" 2016-12-06 18:08:21 -05:00
amdgpu_ttm.h
amdgpu_ucode.c
amdgpu_ucode.h
amdgpu_uvd.c drm/amdgpu/uvd: reduce IB parsing overhead on UVD5+ (v2) 2016-11-23 15:08:47 -05:00
amdgpu_uvd.h
amdgpu_vce.c
amdgpu_vce.h
amdgpu_virt.h
amdgpu_vm.c drm/amdgpu: use AMDGPU_GEM_CREATE_VRAM_CLEARED for VM PD/PTs (v2) 2016-11-23 15:08:46 -05:00
amdgpu_vm.h
amdgpu_vram_mgr.c drm/amdgpu: disable the VRAM manager on special placements v2 2016-11-11 10:21:12 -05:00
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 drm/amdgpu: fix CI bug uvd status not true in debugfs. 2016-12-06 18:08:25 -05:00
ci_dpm.h
ci_smc.c
cik.c
cik.h
cik_dpm.h
cik_ih.c
cik_ih.h
cik_sdma.c
cik_sdma.h
cikd.h
clearstate_ci.h
clearstate_defs.h
clearstate_vi.h
cz_dpm.c drm/amdgpu: refine cz uvd clock gate logic. 2016-11-23 15:08:39 -05:00
cz_dpm.h
cz_ih.c
cz_ih.h
cz_smc.c
cz_smumgr.h
dce_v6_0.c Merge branch 'drm-next-4.10' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-12-06 11:01:33 +10:00
dce_v6_0.h
dce_v8_0.c Merge branch 'drm-next-4.10' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-12-06 11:01:33 +10:00
dce_v8_0.h
dce_v10_0.c Merge branch 'drm-next-4.10' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-12-06 11:01:33 +10:00
dce_v10_0.h
dce_v11_0.c Merge branch 'drm-next-4.10' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-12-06 11:01:33 +10:00
dce_v11_0.h
dce_virtual.c Merge branch 'drm-next-4.10' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-12-06 11:01:33 +10:00
dce_virtual.h
gfx_v6_0.c drm/amdgpu:impl vgt_flush for VI(V5) 2016-11-23 15:08:40 -05:00
gfx_v6_0.h
gfx_v7_0.c drm/amdgpu:impl vgt_flush for VI(V5) 2016-11-23 15:08:40 -05:00
gfx_v7_0.h
gfx_v8_0.c drm/amd/amdgpu: enable GUI idle INT after enabling CGCG 2016-12-06 18:08:26 -05:00
gfx_v8_0.h
gmc_v6_0.c Revert "drm/amdgpu: use the kernel zone memory size as the max remote memory in amdgpu" 2016-12-06 18:08:21 -05:00
gmc_v6_0.h
gmc_v7_0.c Revert "drm/amdgpu: use the kernel zone memory size as the max remote memory in amdgpu" 2016-12-06 18:08:21 -05:00
gmc_v7_0.h
gmc_v8_0.c Revert "drm/amdgpu: use the kernel zone memory size as the max remote memory in amdgpu" 2016-12-06 18:08:21 -05:00
gmc_v8_0.h
iceland_ih.c
iceland_ih.h
iceland_sdma_pkt_open.h
Kconfig
kv_dpm.c drm/amdgpu: use mask bit for deep sleep feature on dpm. 2016-11-11 10:21:01 -05:00
kv_dpm.h
kv_smc.c
Makefile
ObjectID.h
ppsmc.h
r600_dpm.h
sdma_v2_4.c drm/amdgpu: cleanup unused iterator members for sdma v2.4 2016-11-23 15:08:41 -05:00
sdma_v2_4.h
sdma_v3_0.c drm/amdgpu: cleanup unused iterator members for sdma v3 2016-11-23 15:08:41 -05:00
sdma_v3_0.h
si.c
si.h
si_dma.c
si_dma.h
si_dpm.c
si_dpm.h
si_enums.h drm/amd/amdgpu: port of DCE v6 to new headers (v3) 2016-11-23 15:08:42 -05:00
si_ih.c
si_ih.h
si_smc.c
sislands_smc.h
smu_ucode_xfer_vi.h
tonga_ih.c
tonga_ih.h
tonga_sdma_pkt_open.h
uvd_v4_2.c drm/amdgpu: always un-gate UVD REGS path. 2016-11-15 12:36:36 -05:00
uvd_v4_2.h
uvd_v5_0.c drm/amdgpu: fix bug mclk can't change on Polaris 2016-12-06 18:08:23 -05:00
uvd_v5_0.h
uvd_v6_0.c drm/amdgpu: fix bug mclk can't change on Polaris 2016-12-06 18:08:23 -05:00
uvd_v6_0.h
vce_v2_0.c
vce_v2_0.h
vce_v3_0.c drm/amdgpu: enable VCE clockgating in Polaris-10/11 2016-12-06 18:08:26 -05:00
vce_v3_0.h
vi.c drm/amdgpu: enable VCE clockgating in Polaris-10/11 2016-12-06 18:08:26 -05:00
vi.h
vi_dpm.h
vid.h