mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-17 07:54:54 +08:00
drm/radeon: add VCE ring query
Signed-off-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
d93f79376f
commit
f7ba8b04b2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user