soc15.c (b5203d16aef462f52df47242178718768038319a) | soc15.c (e78705ec5a7f607a3340c71a104b0d1c327958a4) |
---|---|
1/* 2 * Copyright 2016 Advanced Micro Devices, Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the --- 572 unchanged lines hidden (view full) --- 581 case CHIP_VEGA10: 582 case CHIP_VEGA12: 583 case CHIP_RAVEN: 584 vega10_reg_base_init(adev); 585 break; 586 case CHIP_VEGA20: 587 vega20_reg_base_init(adev); 588 break; | 1/* 2 * Copyright 2016 Advanced Micro Devices, Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the --- 572 unchanged lines hidden (view full) --- 581 case CHIP_VEGA10: 582 case CHIP_VEGA12: 583 case CHIP_RAVEN: 584 vega10_reg_base_init(adev); 585 break; 586 case CHIP_VEGA20: 587 vega20_reg_base_init(adev); 588 break; |
589 case CHIP_ARCTURUS: 590 arct_reg_base_init(adev); 591 break; |
|
589 default: 590 return -EINVAL; 591 } 592 593 if (adev->asic_type == CHIP_VEGA20) 594 adev->gmc.xgmi.supported = true; 595 596 if (adev->flags & AMD_IS_APU) --- 735 unchanged lines hidden --- | 592 default: 593 return -EINVAL; 594 } 595 596 if (adev->asic_type == CHIP_VEGA20) 597 adev->gmc.xgmi.supported = true; 598 599 if (adev->flags & AMD_IS_APU) --- 735 unchanged lines hidden --- |