diff options
author | Christian König <christian.koenig@amd.com> | 2014-01-27 10:16:06 -0700 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2014-02-18 16:11:24 +0100 |
commit | f7ba8b04b22d7c74898f53a0e118f31b9d40dcc2 (patch) | |
tree | 2a37658deb1db9997e7ff486f8b51f6fa8c29859 /drivers/gpu/drm/radeon/radeon_kms.c | |
parent | d93f79376f210e0b19da57a3dc841ba332daa9d0 (diff) | |
download | op-kernel-dev-f7ba8b04b22d7c74898f53a0e118f31b9d40dcc2.zip op-kernel-dev-f7ba8b04b22d7c74898f53a0e118f31b9d40dcc2.tar.gz |
drm/radeon: add VCE ring query
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_kms.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_kms.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c index 0e078af..ea018d5 100644 --- a/drivers/gpu/drm/radeon/radeon_kms.c +++ b/drivers/gpu/drm/radeon/radeon_kms.c @@ -433,6 +433,9 @@ static int radeon_info_ioctl(struct drm_device *dev, void *data, struct drm_file case RADEON_CS_RING_UVD: *value = rdev->ring[R600_RING_TYPE_UVD_INDEX].ready; break; + case RADEON_CS_RING_VCE: + *value = rdev->ring[TN_RING_TYPE_VCE1_INDEX].ready; + break; default: return -EINVAL; } |