drm/radeon: Add CP init for CIK (v7)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Dec 2012 02:47:44 +0000 (21:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jun 2013 21:50:28 +0000 (17:50 -0400)
commit841cf442fd5326683db87e9e4f8050a47d2446da
treea08aa444db45478008720ae97f9bfee30d81a64e
parentbc8273fe97019e0cd1cdc893c6b40c0add7e8de3
drm/radeon: Add CP init for CIK (v7)

Sets up the GFX ring and loads ucode for GFX and Compute.

Todo:
- handle compute queue setup.

v2: add documentation
v3: integrate with latest reset changes
v4: additional init fixes
v5: scratch reg write back no longer supported on CIK
v6: properly set CP_RB0_BASE_HI
v7: rebase

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/Makefile
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/cik_blit_shaders.c [new file with mode: 0644]
drivers/gpu/drm/radeon/cik_blit_shaders.h [new file with mode: 0644]
drivers/gpu/drm/radeon/cikd.h
drivers/gpu/drm/radeon/radeon_cs.c