diff options
author | Harry Wentland <harry.wentland@amd.com> | 2018-06-07 15:45:08 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-06-15 13:20:42 -0400 |
commit | abea57d70e90b0c41b9a3b9d7b7d39ab81146e19 (patch) | |
tree | 00411671f9db94e021ba7f349f78a2da60fb2ce3 /drivers/gpu/drm/amd/amdgpu/ObjectID.h | |
parent | 59d61be2229fcb8d52db6ba3f82658f501c06333 (diff) |
drm/amdgpu: Add BRACKET_LAYOUT_ENUMs to ObjectID.h
DC has an upcoming change that requires these to read the board layout.
Signed-off-by: Harry Wentland <harry.wentland@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/amdgpu/ObjectID.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/ObjectID.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/ObjectID.h b/drivers/gpu/drm/amd/amdgpu/ObjectID.h index 06192698bd96..5b393622f592 100644 --- a/drivers/gpu/drm/amd/amdgpu/ObjectID.h +++ b/drivers/gpu/drm/amd/amdgpu/ObjectID.h | |||
@@ -136,6 +136,7 @@ | |||
136 | #define GENERIC_OBJECT_ID_PX2_NON_DRIVABLE 0x02 | 136 | #define GENERIC_OBJECT_ID_PX2_NON_DRIVABLE 0x02 |
137 | #define GENERIC_OBJECT_ID_MXM_OPM 0x03 | 137 | #define GENERIC_OBJECT_ID_MXM_OPM 0x03 |
138 | #define GENERIC_OBJECT_ID_STEREO_PIN 0x04 //This object could show up from Misc Object table, it follows ATOM_OBJECT format, and contains one ATOM_OBJECT_GPIO_CNTL_RECORD for the stereo pin | 138 | #define GENERIC_OBJECT_ID_STEREO_PIN 0x04 //This object could show up from Misc Object table, it follows ATOM_OBJECT format, and contains one ATOM_OBJECT_GPIO_CNTL_RECORD for the stereo pin |
139 | #define GENERIC_OBJECT_ID_BRACKET_LAYOUT 0x05 | ||
139 | 140 | ||
140 | /****************************************************/ | 141 | /****************************************************/ |
141 | /* Graphics Object ENUM ID Definition */ | 142 | /* Graphics Object ENUM ID Definition */ |
@@ -714,6 +715,13 @@ | |||
714 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ | 715 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ |
715 | GENERIC_OBJECT_ID_STEREO_PIN << OBJECT_ID_SHIFT) | 716 | GENERIC_OBJECT_ID_STEREO_PIN << OBJECT_ID_SHIFT) |
716 | 717 | ||
718 | #define GENERICOBJECT_BRACKET_LAYOUT_ENUM_ID1 (GRAPH_OBJECT_TYPE_GENERIC << OBJECT_TYPE_SHIFT |\ | ||
719 | GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ | ||
720 | GENERIC_OBJECT_ID_BRACKET_LAYOUT << OBJECT_ID_SHIFT) | ||
721 | |||
722 | #define GENERICOBJECT_BRACKET_LAYOUT_ENUM_ID2 (GRAPH_OBJECT_TYPE_GENERIC << OBJECT_TYPE_SHIFT |\ | ||
723 | GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ | ||
724 | GENERIC_OBJECT_ID_BRACKET_LAYOUT << OBJECT_ID_SHIFT) | ||
717 | /****************************************************/ | 725 | /****************************************************/ |
718 | /* Object Cap definition - Shared with BIOS */ | 726 | /* Object Cap definition - Shared with BIOS */ |
719 | /****************************************************/ | 727 | /****************************************************/ |