drm/radeon: add VCE ring query

Signed-off-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
Christian König 2014-01-27 10:16:06 -07:00
parent d93f79376f
commit f7ba8b04b2

View File

@ -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;
}