summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_0_1_sh_mask.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2017-02-08 17:17:55 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-02-13 12:43:04 -0500
commit254cd2e08dd0c44f9de6424f10390343a34b4f5a (patch)
treeaba1e2a28c4bc6070652943576b974da209f0e54 /drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_0_1_sh_mask.h
parentd50e5c24480f8a6e2918ecd998e65f990f88b0ee (diff)
downloadlinux-stable-254cd2e08dd0c44f9de6424f10390343a34b4f5a.tar.gz
linux-stable-254cd2e08dd0c44f9de6424f10390343a34b4f5a.tar.bz2
linux-stable-254cd2e08dd0c44f9de6424f10390343a34b4f5a.zip
drm/amdgpu: read hw register to check pg status.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_0_1_sh_mask.h')
-rw-r--r--drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_0_1_sh_mask.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_0_1_sh_mask.h b/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_0_1_sh_mask.h
index 25882a4dea5d..34c6ff52710e 100644
--- a/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_0_1_sh_mask.h
+++ b/drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_0_1_sh_mask.h
@@ -5452,5 +5452,7 @@
#define ROM_SW_DATA_63__ROM_SW_DATA__SHIFT 0x0
#define ROM_SW_DATA_64__ROM_SW_DATA_MASK 0xffffffff
#define ROM_SW_DATA_64__ROM_SW_DATA__SHIFT 0x0
+#define CURRENT_PG_STATUS__VCE_PG_STATUS_MASK 0x00000002
+#define CURRENT_PG_STATUS__UVD_PG_STATUS_MASK 0x00000004
#endif /* SMU_7_0_1_SH_MASK_H */