diff options
author | Christian König <christian.koenig@amd.com> | 2014-01-27 21:16:06 +0400 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2014-02-18 19:11:24 +0400 |
commit | f7ba8b04b22d7c74898f53a0e118f31b9d40dcc2 (patch) | |
tree | 2a37658deb1db9997e7ff486f8b51f6fa8c29859 /drivers/gpu | |
parent | d93f79376f210e0b19da57a3dc841ba332daa9d0 (diff) | |
download | linux-f7ba8b04b22d7c74898f53a0e118f31b9d40dcc2.tar.xz |
drm/radeon: add VCE ring query
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu')
-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 0e078afc5db7..ea018d53a85e 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; } |