drm/amdgpu: Add SI Family information
Signed-off-by: Ken Wang <Qingqing.Wang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
1919696eed
commit
295d0dafd3
|
@ -1245,6 +1245,7 @@ static int amdgpu_early_init(struct amdgpu_device *adev)
|
|||
case CHIP_PITCAIRN:
|
||||
case CHIP_OLAND:
|
||||
case CHIP_HAINAN:
|
||||
adev->family = AMDGPU_FAMILY_SI;
|
||||
r = si_set_ip_blocks(adev);
|
||||
if (r)
|
||||
return r;
|
||||
|
|
|
@ -649,6 +649,7 @@ struct drm_amdgpu_info_hw_ip {
|
|||
* Supported GPU families
|
||||
*/
|
||||
#define AMDGPU_FAMILY_UNKNOWN 0
|
||||
#define AMDGPU_FAMILY_SI 110 /* Hainan, Oland, Verde, Pitcairn, Tahiti */
|
||||
#define AMDGPU_FAMILY_CI 120 /* Bonaire, Hawaii */
|
||||
#define AMDGPU_FAMILY_KV 125 /* Kaveri, Kabini, Mullins */
|
||||
#define AMDGPU_FAMILY_VI 130 /* Iceland, Tonga */
|
||||
|
|
Loading…
Reference in New Issue