drm/radeon/cik: Add support for compute queues (v4)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Jun 2013 21:37:11 +0000 (17:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 14:49:08 +0000 (10:49 -0400)
commit963e81f9e060113d3bec1aa95eac76a7d3810879
tree69448123db41c34d79a881f53390ce8d0eef7e8b
parent75efdee11b5da3acbbeb43a9b93a9c4fe6d5bec8
drm/radeon/cik: Add support for compute queues (v4)

On CIK, the compute rings work slightly differently than
on previous asics, however the basic concepts are the same.

The main differences:
- New MEC engines for compute queues
- Multiple queues per MEC:
  - CI/KB: 1 MEC, 4 pipes per MEC, 8 queues per pipe = 32 queues
  -    KV: 2 MEC, 4 pipes per MEC, 8 queues per pipe = 64 queues
- Queues can be allocated and scheduled by another queue
- New doorbell aperture allows you to assign space in the aperture
  for the wptr which allows for userspace access to queues

v2: add wptr shadow, fix eop setup
v3: fix comment
v4: switch to new callback method

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/cikd.h
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_cs.c
This page took 0.025887 seconds and 5 git commands to generate.