drm/radeon/cik: add srbm_select function
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Jan 2013 15:44:22 +0000 (10:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Jun 2013 20:11:51 +0000 (16:11 -0400)
commitb556b12e829c504bd3d1044e28ffbae2385b6fdc
treee562ccea91da3954884364b3ff3bb0a7932bb0eb
parent87167bb16dfdd76b836ed3c19024c4a2d985f993
drm/radeon/cik: add srbm_select function

Allows us to select instanced registers based on:
- ME (micro engine
- Pipe
- Queue
- VMID

Switch MC setup to use this new function.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/cik.c