diff options
author | Leo Liu <leo.liu@amd.com> | 2015-07-13 19:46:23 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-07-23 18:09:45 +0300 |
commit | fa92754e9c47cf3e5607c0865f4cf59d090cda37 (patch) | |
tree | 8f5ddb6bb692a7fb1bd43e6a100af72b0512e93c /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | 6a585777c832f45c05d1aa8a4872b2b292a908c2 (diff) | |
download | linux-fa92754e9c47cf3e5607c0865f4cf59d090cda37.tar.xz |
drm/amdgpu: add VCE harvesting instance query
Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 1 |
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; |