summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlora Cui <Flora.Cui@amd.com>2017-06-28 13:31:57 +0800
committerFlora Cui <Flora.Cui@amd.com>2017-06-29 17:27:27 +0800
commit95c7cbfd2f9b605282e37c20076ce7c2ca5a8ff7 (patch)
treeff1b4963ce87ab930a9c12bb177a476bcf8c918b
parent805f38e8f67fe9a6f37aeef0f618b0f7fee5db7e (diff)
amdgpu: Add gpu always on cu bitmap
Change-Id: I8353678c3f74e71af4928dc863b41c92d4dff2ab Signed-off-by: Flora Cui <Flora.Cui@amd.com> Reviewed-by: Christian K├Ânig <christian.koenig@amd.com>
-rw-r--r--include/drm/amdgpu_drm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
index df250ded..05c4e727 100644
--- a/include/drm/amdgpu_drm.h
+++ b/include/drm/amdgpu_drm.h
@@ -832,6 +832,7 @@ struct drm_amdgpu_info_device {
__u64 max_memory_clock;
/* cu information */
__u32 cu_active_number;
+ /* NOTE: cu_ao_mask is INVALID, DON'T use it */
__u32 cu_ao_mask;
__u32 cu_bitmap[4][4];
/** Render backend pipe mask. One render backend is CB+DB. */
@@ -886,6 +887,8 @@ struct drm_amdgpu_info_device {
/* max gs wavefront per vgt*/
__u32 max_gs_waves_per_vgt;
__u32 _pad1;
+ /* always on cu bitmap */
+ __u32 cu_ao_bitmap[4][4];
};
struct drm_amdgpu_info_hw_ip {