Fix Haswell GT3 names.
PATCH 1/2 Fix Haswell GT3 names.
When publishing first HSW ids we weren't allowed to use "GT3" codname. But this is the correct codname and Mesa is using it already. So to avoid people getting confused why in Mesa it is called GT3 and here it is called GT2_PLUS let's fix this name in a standard and correct way.
--- src/intel_driver.h | 32 +++++++++++++++---------------- src/intel_module.c | 56 +++++++++++++++++++++++++++--------------------------- 2 files changed, 44 insertions(+), 44 deletions(-)
src/intel_driver.h +16 -16
@@ -194,55 +194,55 @@#define PCI_CHIP_HASWELL_D_GT1 0x0402#define PCI_CHIP_HASWELL_D_GT2 0x0412 -#define PCI_CHIP_HASWELL_D_GT2_PLUS 0x0422 +#define PCI_CHIP_HASWELL_D_GT3 0x0422#define PCI_CHIP_HASWELL_M_GT1 0x0406#define PCI_CHIP_HASWELL_M_GT2 0x0416 -#define PCI_CHIP_HASWELL_M_GT2_PLUS 0x0426 +#define PCI_CHIP_HASWELL_M_GT3 0x0426#define PCI_CHIP_HASWELL_S_GT1 0x040A#define PCI_CHIP_HASWELL_S_GT2 0x041A -#define PCI_CHIP_HASWELL_S_GT2_PLUS 0x042A +#define PCI_CHIP_HASWELL_S_GT3 0x042A#define PCI_CHIP_HASWELL_GT1_RSVD 0x040E#define PCI_CHIP_HASWELL_GT2_RSVD 0x041E -#define PCI_CHIP_HASWELL_GT2_PLUS_RSVD 0x042E +#define PCI_CHIP_HASWELL_GT3_RSVD 0x042E#define PCI_CHIP_HASWELL_SDV_D_GT1 0x0C02#define PCI_CHIP_HASWELL_SDV_D_GT2 0x0C12 -#define PCI_CHIP_HASWELL_SDV_D_GT2_PLUS 0x0C22 +#define PCI_CHIP_HASWELL_SDV_D_GT3 0x0C22#define PCI_CHIP_HASWELL_SDV_M_GT1 0x0C06#define PCI_CHIP_HASWELL_SDV_M_GT2 0x0C16 -#define PCI_CHIP_HASWELL_SDV_M_GT2_PLUS 0x0C26 +#define PCI_CHIP_HASWELL_SDV_M_GT3 0x0C26#define PCI_CHIP_HASWELL_SDV_S_GT1 0x0C0A#define PCI_CHIP_HASWELL_SDV_S_GT2 0x0C1A -#define PCI_CHIP_HASWELL_SDV_S_GT2_PLUS 0x0C2A +#define PCI_CHIP_HASWELL_SDV_S_GT3 0x0C2A#define PCI_CHIP_HASWELL_SDV_GT1_RSVD 0x0C0E#define PCI_CHIP_HASWELL_SDV_GT2_RSVD 0x0C1E -#define PCI_CHIP_HASWELL_SDV_GT2_PLUS_RSVD 0x0C2E +#define PCI_CHIP_HASWELL_SDV_GT3_RSVD 0x0C2E#define PCI_CHIP_HASWELL_ULT_D_GT1 0x0A02#define PCI_CHIP_HASWELL_ULT_D_GT2 0x0A12 -#define PCI_CHIP_HASWELL_ULT_D_GT2_PLUS 0x0A22 +#define PCI_CHIP_HASWELL_ULT_D_GT3 0x0A22#define PCI_CHIP_HASWELL_ULT_M_GT1 0x0A06#define PCI_CHIP_HASWELL_ULT_M_GT2 0x0A16 -#define PCI_CHIP_HASWELL_ULT_M_GT2_PLUS 0x0A26 +#define PCI_CHIP_HASWELL_ULT_M_GT3 0x0A26#define PCI_CHIP_HASWELL_ULT_S_GT1 0x0A0A#define PCI_CHIP_HASWELL_ULT_S_GT2 0x0A1A -#define PCI_CHIP_HASWELL_ULT_S_GT2_PLUS 0x0A2A +#define PCI_CHIP_HASWELL_ULT_S_GT3 0x0A2A#define PCI_CHIP_HASWELL_ULT_GT1_RSVD 0x0A0E#define PCI_CHIP_HASWELL_ULT_GT2_RSVD 0x0A1E -#define PCI_CHIP_HASWELL_ULT_GT2_PLUS_RSVD 0x0A2E +#define PCI_CHIP_HASWELL_ULT_GT3_RSVD 0x0A2E#define PCI_CHIP_HASWELL_CRW_D_GT1 0x0D02#define PCI_CHIP_HASWELL_CRW_D_GT2 0x0D12 -#define PCI_CHIP_HASWELL_CRW_D_GT2_PLUS 0x0D22 +#define PCI_CHIP_HASWELL_CRW_D_GT3 0x0D22#define PCI_CHIP_HASWELL_CRW_M_GT1 0x0D06#define PCI_CHIP_HASWELL_CRW_M_GT2 0x0D16 -#define PCI_CHIP_HASWELL_CRW_M_GT2_PLUS 0x0D26 +#define PCI_CHIP_HASWELL_CRW_M_GT3 0x0D26#define PCI_CHIP_HASWELL_CRW_S_GT1 0x0D0A#define PCI_CHIP_HASWELL_CRW_S_GT2 0x0D1A -#define PCI_CHIP_HASWELL_CRW_S_GT2_PLUS 0x0D2A +#define PCI_CHIP_HASWELL_CRW_S_GT3 0x0D2A#define PCI_CHIP_HASWELL_CRW_GT1_RSVD 0x0D0E#define PCI_CHIP_HASWELL_CRW_GT2_RSVD 0x0D1E -#define PCI_CHIP_HASWELL_CRW_GT2_PLUS_RSVD 0x0D2E +#define PCI_CHIP_HASWELL_CRW_GT3_RSVD 0x0D2E#define PCI_CHIP_VALLEYVIEW_PO 0x0f30#define PCI_CHIP_VALLEYVIEW_1 0x0f31
src/intel_module.c +28 -28
122 lines not on this page · raw message
Signature · 1 line
1.8.1.4
PATCH 2/2 Adding more reserved PCI IDs for Haswell.
As Chris mentioned there is a tendency we finding out more
PCI IDs only when users report. So Let's add all new reserved Haswell IDs. I didn't have better names for this reserved ids and didn't want to use rsvd1 and rsvd2 groups, so I decided to use "B" and "E" that stands for the latest id digit.
--- src/intel_driver.h | 21 +++++++++++-------- src/intel_module.c | 61 +++++++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 61 insertions(+), 21 deletions(-)
src/intel_driver.h +12 -9
@@ -224,12 +224,12 @@#define PCI_CHIP_HASWELL_ULT_M_GT1 0x0A06#define PCI_CHIP_HASWELL_ULT_M_GT2 0x0A16#define PCI_CHIP_HASWELL_ULT_M_GT3 0x0A26 -#define PCI_CHIP_HASWELL_ULT_S_GT1 0x0A0A -#define PCI_CHIP_HASWELL_ULT_S_GT2 0x0A1A -#define PCI_CHIP_HASWELL_ULT_S_GT3 0x0A2A -#define PCI_CHIP_HASWELL_ULT_GT1_RSVD 0x0A0E -#define PCI_CHIP_HASWELL_ULT_GT2_RSVD 0x0A1E -#define PCI_CHIP_HASWELL_ULT_GT3_RSVD 0x0A2E +#define PCI_CHIP_HASWELL_ULT_B_GT1 0x0A0B +#define PCI_CHIP_HASWELL_ULT_B_GT2 0x0A1B +#define PCI_CHIP_HASWELL_ULT_B_GT3 0x0A2B +#define PCI_CHIP_HASWELL_ULT_E_GT1 0x0A0E +#define PCI_CHIP_HASWELL_ULT_E_GT2 0x0A1E +#define PCI_CHIP_HASWELL_ULT_E_GT3 0x0A2E#define PCI_CHIP_HASWELL_CRW_D_GT1 0x0D02#define PCI_CHIP_HASWELL_CRW_D_GT2 0x0D12
@@ -240,9 +240,12 @@#define PCI_CHIP_HASWELL_CRW_S_GT1 0x0D0A#define PCI_CHIP_HASWELL_CRW_S_GT2 0x0D1A#define PCI_CHIP_HASWELL_CRW_S_GT3 0x0D2A -#define PCI_CHIP_HASWELL_CRW_GT1_RSVD 0x0D0E -#define PCI_CHIP_HASWELL_CRW_GT2_RSVD 0x0D1E -#define PCI_CHIP_HASWELL_CRW_GT3_RSVD 0x0D2E +#define PCI_CHIP_HASWELL_CRW_B_GT1 0x0D0B +#define PCI_CHIP_HASWELL_CRW_B_GT2 0x0D1B +#define PCI_CHIP_HASWELL_CRW_B_GT3 0x0D2B +#define PCI_CHIP_HASWELL_CRW_E_GT1 0x0D0E +#define PCI_CHIP_HASWELL_CRW_E_GT2 0x0D1E +#define PCI_CHIP_HASWELL_CRW_E_GT3 0x0D2E#define PCI_CHIP_VALLEYVIEW_PO 0x0f30#define PCI_CHIP_VALLEYVIEW_1 0x0f31
src/intel_module.c +49 -12
109 lines not on this page · raw message
Signature · 1 line
1.8.1.4
Chris Wilson
AppliedRe: [PATCH 2/2 DDX] Adding more reserved PCI IDs for Haswell.
Quoted 5 lines · Rodrigo Vivi
As Chris mentioned there is a tendency we finding out more
PCI IDs only when users report. So Let's add all new reserved Haswell IDs. I didn't have better names for this reserved ids and didn't want to use rsvd1 and rsvd2 groups, so I decided to use "B" and "E" that stands for the latest id digit.
Applied both and pushed, thanks.
-Chris
Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
Quoted 4 lines · Rodrigo Vivi
When publishing first HSW ids we weren't allowed to use "GT3" codname. But this is the correct codname and Mesa is using it already. So to avoid people getting confused why in Mesa it is called GT3 and here it is called
GT2_PLUSlet's fix this name in a standard and correct way.
Do we know if there is a distinct mapping between PCI ID and marketing names (4600, 5000, 5100, 5200 etc)? That would be useful to add as well. -Chris
Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
good question. I'm going to check that.
Please accept this add "reserved" ids patch for now. I send more patches above this with market names if I find out the correct association.
Quoted 12 lines · Chris Wilson
Quoted 4 lines · Rodrigo Vivi
When publishing first HSW ids we weren't allowed to use "GT3" codname. But this is the correct codname and Mesa is using it already. So to avoid people getting confused why in Mesa it is called GT3 and here it is called
GT2_PLUSlet's fix this name in a standard and correct way.Do we know if there is a distinct mapping between PCI ID and marketing names (4600, 5000, 5100, 5200 etc)? That would be useful to add as well. -Chris
--
Chris Wilson, Intel Open Source Technology Centre
Signature · 2 lines
Rodrigo Vivi Blog: http://blog.vivi.eng.br