diff options
author | Christian König <christian.koenig@amd.com> | 2014-01-27 18:16:06 +0100 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2014-02-18 16:11:24 +0100 |
commit | f7ba8b04b22d7c74898f53a0e118f31b9d40dcc2 (patch) | |
tree | 2a37658deb1db9997e7ff486f8b51f6fa8c29859 | |
parent | drm/radeon: initial VCE support v4 (diff) | |
download | linux-f7ba8b04b22d7c74898f53a0e118f31b9d40dcc2.tar.xz linux-f7ba8b04b22d7c74898f53a0e118f31b9d40dcc2.zip |
drm/radeon: add VCE ring query
Signed-off-by: Christian König <christian.koenig@amd.com>
-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; } |