aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2015-07-13 16:46:23 +0000
committerAlex Deucher <[email protected]>2015-07-23 15:09:45 +0000
commitfa92754e9c47cf3e5607c0865f4cf59d090cda37 (patch)
tree8f5ddb6bb692a7fb1bd43e6a100af72b0512e93c /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
parentdrm/amdgpu: implement VCE 3.0 harvesting support (v4) (diff)
downloadkernel-fa92754e9c47cf3e5607c0865f4cf59d090cda37.tar.gz
kernel-fa92754e9c47cf3e5607c0865f4cf59d090cda37.zip
drm/amdgpu: add VCE harvesting instance query
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
index 5533434c7a8f..31ad444c6386 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
@@ -459,6 +459,7 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file
memcpy(&dev_info.cu_bitmap[0], &cu_info.bitmap[0], sizeof(cu_info.bitmap));
dev_info.vram_type = adev->mc.vram_type;
dev_info.vram_bit_width = adev->mc.vram_width;
+ dev_info.vce_harvest_config = adev->vce.harvest_config;
return copy_to_user(out, &dev_info,
min((size_t)size, sizeof(dev_info))) ? -EFAULT : 0;