aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2019-09-24 17:53:25 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-10-02 12:58:33 -0500
commit815fb4c9d7da862a47c9d2a9765a4759826c5783 (patch)
treecc4d76fac5f8f5f986484f1b7535f7de05937192 /include
parentdrm/amdgpu: don't increment vram lost if we are in hibernation (diff)
downloadlinux-dev-815fb4c9d7da862a47c9d2a9765a4759826c5783.tar.xz
linux-dev-815fb4c9d7da862a47c9d2a9765a4759826c5783.zip
drm/amdgpu: return tcc_disabled_mask to userspace
UMDs need this for correct programming of harvested chips. Signed-off-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/drm/amdgpu_drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index c99b4f2482c6..4fe35d600ab8 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -1003,6 +1003,8 @@ struct drm_amdgpu_info_device {
__u64 high_va_max;
/* gfx10 pa_sc_tile_steering_override */
__u32 pa_sc_tile_steering_override;
+ /* disabled TCCs */
+ __u64 tcc_disabled_mask;
};
struct drm_amdgpu_info_hw_ip {