20 lines
414 B
Plaintext
20 lines
414 B
Plaintext
![]() |
/*
|
||
|
* Copyright (C) 2021 Intel Corporation
|
||
|
*
|
||
|
* SPDX-License-Identifier: MIT
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
template <>
|
||
|
uint32_t HwInfoConfigHw<gfxProduct>::getHwRevIdFromStepping(uint32_t stepping, const HardwareInfo &hwInfo) const {
|
||
|
switch (stepping) {
|
||
|
case REVISION_A0:
|
||
|
return 0x0;
|
||
|
case REVISION_B:
|
||
|
return 0x1;
|
||
|
case REVISION_C:
|
||
|
return 0x4;
|
||
|
}
|
||
|
return CommonConstants::invalidStepping;
|
||
|
}
|