tools/intel_reg: Simplify negative ports
PATCH 1/4 tools/intel_reg: Simplify negative ports
From: Ville Syrjälä <[email protected]>
Let's avoid having to type in the explicit negative value for all the port enums.
--- tools/intel_reg_spec.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
tools/intel_reg_spec.h +4 -3
@@ -25,10 +25,11 @@#define __INTEL_REG_SPEC_H__enum port_addr { +PORT_MMIO =-127 , +PORT_PORTIO_VGA ,/* see vga reg read/write */ +PORT_MMIO_VGA ,/* see vga reg read/write */ +PORT_NONE =0 , -PORT_MMIO =-1 , -PORT_PORTIO_VGA =-2 ,/* see vga reg read/write */ -PORT_MMIO_VGA =-3 ,/* see vga reg read/write */ /* vlv */ PORT_BUNIT =0x03 ,
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 2/4 tools/intel_reg: Support 8 and 16 bit mmio registers
From: Ville Syrjälä <[email protected]>
Add new "ports" for doing 8 and 16 bit mmio accesses.
--- tools/intel_reg.c | 53 ++++++++++++++++++++++++++++++------------ tools/intel_reg_spec.c | 19 +++++++++------ tools/intel_reg_spec.h | 8 ++++--- 3 files changed, 55 insertions(+), 25 deletions(-)
tools/intel_reg.c +38 -15
@@ -179,6 +179,18 @@ static void to_binary(char *buf, size_t buflen, uint32_t val)snprintf (buf, buflen,"\n" ); } +static bool port_is_mmio (enum port_addr port) +{ +switch (port) { +case PORT_MMIO_32 : +case PORT_MMIO_16 : +case PORT_MMIO_8 : +return true; +default : +return false; + } +} +static void dump_decode (struct config *config,struct reg *reg,uint32_t val) {char decode[1300 ];
@@ -207,7 +219,7 @@ static void dump_decode(struct config *config, struct reg *reg, uint32_t val)snprintf (decode,sizeof (decode),"\n" ); } -if (reg->port_desc.port ==PORT_MMIO ) { +if (port_is_mmio (reg->port_desc.port)) {/* Omit port name for MMIO, optionally include MMIO offset. */ if (reg->mmio_offset) printf("%24s (0x%08x:0x%08x): 0x%08x%s",
@@ -359,20 +371,23 @@ static int read_register(struct config *config, struct reg *reg, uint32_t *valp)uint32_t val =0 ;switch (reg->port_desc.port) { -case PORT_MMIO : +case PORT_MMIO_32 :if (reg->engine) val =register_srm (config, reg,NULL );else val =INREG (reg->mmio_offset + reg->addr);break ; -case PORT_PORTIO_VGA : +case PORT_MMIO_16 : + val =INREG16 (reg->mmio_offset + reg->addr); +break ; +case PORT_MMIO_8 : + val =INREG8 (reg->mmio_offset + reg->addr); +break ; +case PORT_PORTIO :iopl (3 ); val =inb (reg->addr);iopl (0 );break ; -case PORT_MMIO_VGA : - val =INREG8 (reg->addr); -break ;case PORT_BUNIT :case PORT_PUNIT :case PORT_NC :
@@ -419,30 +434,38 @@ static int write_register(struct config *config, struct reg *reg, uint32_t val) }switch (reg->port_desc.port) { -case PORT_MMIO : +case PORT_MMIO_32 :if (reg->engine) {register_srm (config, reg, &val); }else {OUTREG (reg->mmio_offset + reg->addr, val); }break ; -case PORT_PORTIO_VGA : +case PORT_MMIO_16 : +if (val >0xffff ) { +fprintf (stderr,"value 0x%08x out of range for port %s\n" , + val, reg->port_desc.name); +return -1 ; + } +OUTREG16 (reg->mmio_offset + reg->addr, val); +break ; +case PORT_MMIO_8 :if (val >0xff ) {fprintf (stderr,"value 0x%08x out of range for port %s\n" , val, reg->port_desc.name);return -1 ; } -iopl (3 ); -outb (val, reg->addr); -iopl (0 ); +OUTREG8 (reg->mmio_offset + reg->addr, val);break ; -case PORT_MMIO_VGA : +case PORT_PORTIO :if (val >0xff ) {fprintf (stderr,"value 0x%08x out of range for port %s\n" , val, reg->port_desc.name);return -1 ; } -OUTREG8 (reg->addr, val); +iopl (3 ); +outb (val, reg->addr); +iopl (0 );break ;case PORT_BUNIT :case PORT_PUNIT :
@@ -482,7 +505,7 @@ static int parse_engine(struct reg *reg, const char *s) e =find_engine (s);if (e) { - reg->port_desc.port =PORT_MMIO ; + reg->port_desc.port =PORT_MMIO_32 ; reg->port_desc.name =strdup (s); reg->port_desc.stride =4 ; reg->engine =strdup (s);
@@ -629,7 +652,7 @@ static int intel_reg_dump(struct config *config, int argc, char *argv[]) reg = &config->regs[i];/* can't dump sideband with mmiofile */ -if (config->mmiofile && reg->port_desc.port !=PORT_MMIO ) +if (config->mmiofile && !port_is_mmio (reg->port_desc.port))continue ;dump_register (config, &config->regs[i]);
tools/intel_reg_spec.c +12 -7
@@ -35,17 +35,22 @@static const struct port_desc port_descs[] = { { .name ="mmio" , - .port =PORT_MMIO , + .port =PORT_MMIO_32 , .stride =4 , }, { - .name ="portio-vga" , - .port =PORT_PORTIO_VGA , + .name ="mmio16" , + .port =PORT_MMIO_16 , + .stride =2 , + }, + { + .name ="mmio8" , + .port =PORT_MMIO_8 , .stride =1 , }, { - .name ="mmio-vga" , - .port =PORT_MMIO_VGA , + .name ="portio" , + .port =PORT_PORTIO , .stride =1 , }, {
@@ -116,7 +121,7 @@ int parse_port_desc(struct reg *reg, const char *s)if (endp > s && *endp ==0 ) {if (n >PORT_MAX ) {/* Not a sideband port, assume MMIO offset. */ - port =PORT_MMIO ; + port =PORT_MMIO_32 ; reg->mmio_offset = n; }else { port = n;
@@ -127,7 +132,7 @@ int parse_port_desc(struct reg *reg, const char *s) } }else {/* No port, default to searching for MMIO. */ - port =PORT_MMIO ; + port =PORT_MMIO_32 ; reg->mmio_offset =0 ; }
tools/intel_reg_spec.h +5 -3
@@ -25,9 +25,11 @@#define __INTEL_REG_SPEC_H__enum port_addr { -PORT_MMIO =-127 , -PORT_PORTIO_VGA ,/* see vga reg read/write */ -PORT_MMIO_VGA ,/* see vga reg read/write */ +PORT_MMIO_32 =-127 , +PORT_MMIO_16 , +PORT_MMIO_8 , + +PORT_PORTIO ,PORT_NONE =0 ,
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Re: [igt-dev] [PATCH i-g-t 2/4] tools/intel_reg: Support 8 and 16 bit mmio registers
Quoted 3 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Add new "ports" for doing 8 and 16 bit mmio accesses.
Might mention the mmio-vga -> mmio8 and portio-vga -> portio port name changes here.
Quoted 201 lines
Signed-off-by Ville Syrjälä <[email protected]>--- tools/intel_reg.c | 53 ++++++++++++++++++++++++++++++------------ tools/intel_reg_spec.c | 19 +++++++++------ tools/intel_reg_spec.h | 8 ++++--- 3 files changed, 55 insertions(+), 25 deletions(-)tools/intel_reg.c +38
-15@@ -179,6 +179,18 @@ static void to_binary(char *buf, size_t buflen, uint32_t val)snprintf (buf, buflen,"\n" ); } +static bool port_is_mmio (enum port_addr port) +{ +switch (port) { +case PORT_MMIO_32 : +case PORT_MMIO_16 : +case PORT_MMIO_8 : +return true; +default : +return false; + } +} +static void dump_decode (struct config *config,struct reg *reg,uint32_t val) {char decode[1300 ];@@ -207,7 +219,7 @@ static void dump_decode(struct config *config, struct reg *reg, uint32_t val)snprintf (decode,sizeof (decode),"\n" ); } -if (reg->port_desc.port ==PORT_MMIO ) { +if (port_is_mmio (reg->port_desc.port)) {/* Omit port name for MMIO, optionally include MMIO offset. */ if (reg->mmio_offset) printf("%24s (0x%08x:0x%08x): 0x%08x%s",@@ -359,20 +371,23 @@ static int read_register(struct config *config, struct reg *reg, uint32_t *valp)uint32_t val =0 ;switch (reg->port_desc.port) { -case PORT_MMIO : +case PORT_MMIO_32 :if (reg->engine) val =register_srm (config, reg,NULL );else val =INREG (reg->mmio_offset + reg->addr);break ; -case PORT_PORTIO_VGA : +case PORT_MMIO_16 : + val =INREG16 (reg->mmio_offset + reg->addr); +break ; +case PORT_MMIO_8 : + val =INREG8 (reg->mmio_offset + reg->addr); +break ; +case PORT_PORTIO :iopl (3 ); val =inb (reg->addr);iopl (0 );break ; -case PORT_MMIO_VGA : - val =INREG8 (reg->addr); -break ;case PORT_BUNIT :case PORT_PUNIT :case PORT_NC :@@ -419,30 +434,38 @@ static int write_register(struct config *config, struct reg *reg, uint32_t val) }switch (reg->port_desc.port) { -case PORT_MMIO : +case PORT_MMIO_32 :if (reg->engine) {register_srm (config, reg, &val); }else {OUTREG (reg->mmio_offset + reg->addr, val); }break ; -case PORT_PORTIO_VGA : +case PORT_MMIO_16 : +if (val >0xffff ) { +fprintf (stderr,"value 0x%08x out of range for port %s\n" , + val, reg->port_desc.name); +return -1 ; + } +OUTREG16 (reg->mmio_offset + reg->addr, val); +break ; +case PORT_MMIO_8 :if (val >0xff ) {fprintf (stderr,"value 0x%08x out of range for port %s\n" , val, reg->port_desc.name);return -1 ; } -iopl (3 ); -outb (val, reg->addr); -iopl (0 ); +OUTREG8 (reg->mmio_offset + reg->addr, val);break ; -case PORT_MMIO_VGA : +case PORT_PORTIO :if (val >0xff ) {fprintf (stderr,"value 0x%08x out of range for port %s\n" , val, reg->port_desc.name);return -1 ; } -OUTREG8 (reg->addr, val); +iopl (3 ); +outb (val, reg->addr); +iopl (0 );break ;case PORT_BUNIT :case PORT_PUNIT :@@ -482,7 +505,7 @@ static int parse_engine(struct reg *reg, const char *s) e =find_engine (s);if (e) { - reg->port_desc.port =PORT_MMIO ; + reg->port_desc.port =PORT_MMIO_32 ; reg->port_desc.name =strdup (s); reg->port_desc.stride =4 ; reg->engine =strdup (s);@@ -629,7 +652,7 @@ static int intel_reg_dump(struct config *config, int argc, char *argv[]) reg = &config->regs[i];/* can't dump sideband with mmiofile */ -if (config->mmiofile && reg->port_desc.port !=PORT_MMIO ) +if (config->mmiofile && !port_is_mmio (reg->port_desc.port))continue ;dump_register (config, &config->regs[i]);tools/intel_reg_spec.c +12
-7@@ -35,17 +35,22 @@static const struct port_desc port_descs[] = { { .name ="mmio" , - .port =PORT_MMIO , + .port =PORT_MMIO_32 , .stride =4 , }, { - .name ="portio-vga" , - .port =PORT_PORTIO_VGA , + .name ="mmio16" , + .port =PORT_MMIO_16 , + .stride =2 , + }, + { + .name ="mmio8" , + .port =PORT_MMIO_8 , .stride =1 , }, { - .name ="mmio-vga" , - .port =PORT_MMIO_VGA , + .name ="portio" , + .port =PORT_PORTIO , .stride =1 , }, {@@ -116,7 +121,7 @@ int parse_port_desc(struct reg *reg, const char *s)if (endp > s && *endp ==0 ) {if (n >PORT_MAX ) {/* Not a sideband port, assume MMIO offset. */ - port =PORT_MMIO ; + port =PORT_MMIO_32 ; reg->mmio_offset = n; }else { port = n;@@ -127,7 +132,7 @@ int parse_port_desc(struct reg *reg, const char *s) } }else {/* No port, default to searching for MMIO. */ - port =PORT_MMIO ; + port =PORT_MMIO_32 ; reg->mmio_offset =0 ; }tools/intel_reg_spec.h +5
-3@@ -25,9 +25,11 @@#define __INTEL_REG_SPEC_H__enum port_addr { -PORT_MMIO =-127 , -PORT_PORTIO_VGA ,/* see vga reg read/write */ -PORT_MMIO_VGA ,/* see vga reg read/write */ +PORT_MMIO_32 =-127 , +PORT_MMIO_16 , +PORT_MMIO_8 , + +PORT_PORTIO ,PORT_NONE =0 ,
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 3/4 tools/intel_reg: Add support for register access via the MCHBAR mirror
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Remembering the MCHBAR mirror offset is too much work. Make the tool remember it for me.
--- tools/intel_reg.c | 17 +++++++++++++++++ tools/intel_reg_spec.c | 15 +++++++++++++++ tools/intel_reg_spec.h | 4 ++++ 3 files changed, 36 insertions(+)
tools/intel_reg.c +17 -0
@@ -185,6 +185,9 @@ static bool port_is_mmio(enum port_addr port)case PORT_MMIO_32 :case PORT_MMIO_16 :case PORT_MMIO_8 : +case PORT_MCHBAR_32 : +case PORT_MCHBAR_16 : +case PORT_MCHBAR_8 :return true;default :return false;
@@ -366,20 +369,34 @@ static int register_srm(struct config *config, struct reg *reg,return val; } +static uint32_t mcbar_offset (uint32_t devid) +{ +return intel_gen (devid) >=6 ?0x140000 :0x10000 ; +} +static int read_register (struct config *config,struct reg *reg,uint32_t *valp) {uint32_t val =0 ;switch (reg->port_desc.port) { +case PORT_MCHBAR_32 : + reg->mmio_offset =mcbar_offset (config->devid); +/* fall through */ case PORT_MMIO_32 :if (reg->engine) val =register_srm (config, reg,NULL );else val =INREG (reg->mmio_offset + reg->addr);break ; +case PORT_MCHBAR_16 : + reg->mmio_offset =mcbar_offset (config->devid); +/* fall through */ case PORT_MMIO_16 : val =INREG16 (reg->mmio_offset + reg->addr);break ; +case PORT_MCHBAR_8 : + reg->mmio_offset =mcbar_offset (config->devid); +/* fall through */ case PORT_MMIO_8 : val =INREG8 (reg->mmio_offset + reg->addr);break ;
tools/intel_reg_spec.c +15 -0
@@ -48,6 +48,21 @@ static const struct port_desc port_descs[] = { .port = PORT_MMIO_8, .stride = 1, }, + { + .name = "mchbar", + .port = PORT_MCHBAR_32, + .stride = 4, + }, + { + .name = "mchbar16", + .port = PORT_MCHBAR_16, + .stride = 2, + }, + { + .name = "mchbar8", + .port = PORT_MCHBAR_8, + .stride = 1, + }, { .name = "portio", .port = PORT_PORTIO,
tools/intel_reg_spec.h +4 -0
@@ -29,6 +29,10 @@ enum port_addr {PORT_MMIO_16 ,PORT_MMIO_8 , +PORT_MCHBAR_32 , +PORT_MCHBAR_16 , +PORT_MCHBAR_8 , +PORT_PORTIO , PORT_NONE = 0,
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Re: [igt-dev] [PATCH i-g-t 3/4] tools/intel_reg: Add support for register access via the MCHBAR mirror
Quoted 33 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Remembering the MCHBAR mirror offset is too much work. Make the tool remember it for me.
Signed-off-by Ville Syrjälä <[email protected]>--- tools/intel_reg.c | 17 +++++++++++++++++ tools/intel_reg_spec.c | 15 +++++++++++++++ tools/intel_reg_spec.h | 4 ++++ 3 files changed, 36 insertions(+)tools/intel_reg.c +6
-0@@ -185,6 +185,9 @@ static bool port_is_mmio(enum port_addr port)case PORT_MMIO_32 :case PORT_MMIO_16 :case PORT_MMIO_8 : +case PORT_MCHBAR_32 : +case PORT_MCHBAR_16 : +case PORT_MCHBAR_8 :return true;default :return false;@@ -366,20 +369,34 @@ static int register_srm(struct config *config, struct reg *reg,return val; } +static uint32_t mcbar_offset (uint32_t devid) +{ +return intel_gen (devid) >=6 ?0x140000 :0x10000 ;
tools/intel_reg.c static int register_srm(struct config *config, struct reg *reg, · line 384
Quoted 10 lines
tools/intel_reg.c +5
-0+} +static int read_register (struct config *config,struct reg *reg,uint32_t *valp) {uint32_t val =0 ;switch (reg->port_desc.port) { +case PORT_MCHBAR_32 : + reg->mmio_offset =mcbar_offset (config->devid); +/* fall through */
I think it would be better to handle this earlier, at parse_port_desc() or parse_reg() level. I think having this here might screw with the ability to handle the mchbar "ports" nicely in the reg spec. Or decode them.
This being devid specific makes it a bit harder I guess.
BR,
Jani.
Quoted 59 lines
tools/intel_reg.c +6
-0case PORT_MMIO_32 :if (reg->engine) val =register_srm (config, reg,NULL );else val =INREG (reg->mmio_offset + reg->addr);break ; +case PORT_MCHBAR_16 : + reg->mmio_offset =mcbar_offset (config->devid); +/* fall through */ case PORT_MMIO_16 : val =INREG16 (reg->mmio_offset + reg->addr);break ; +case PORT_MCHBAR_8 : + reg->mmio_offset =mcbar_offset (config->devid); +/* fall through */ case PORT_MMIO_8 : val =INREG8 (reg->mmio_offset + reg->addr);break ;tools/intel_reg_spec.c +15
-0@@ -48,6 +48,21 @@ static const struct port_desc port_descs[] = { .port = PORT_MMIO_8, .stride = 1, }, + { + .name = "mchbar", + .port = PORT_MCHBAR_32, + .stride = 4, + }, + { + .name = "mchbar16", + .port = PORT_MCHBAR_16, + .stride = 2, + }, + { + .name = "mchbar8", + .port = PORT_MCHBAR_8, + .stride = 1, + }, { .name = "portio", .port = PORT_PORTIO,tools/intel_reg_spec.h +4
-0@@ -29,6 +29,10 @@ enum port_addr {PORT_MMIO_16 ,PORT_MMIO_8 , +PORT_MCHBAR_32 , +PORT_MCHBAR_16 , +PORT_MCHBAR_8 , +PORT_PORTIO , PORT_NONE = 0,
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 4/4 tools/intel_reg: Add support for reading indexed VGA registers
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Add convenient "ports" for accessing the indexed VGA registers. SAdly we still have to poke these at times.
--- lib/intel_reg.h | 15 ++- tools/intel_reg.c | 201 +++++++++++++++++++++++++++++++++++++++++ tools/intel_reg_spec.c | 40 ++++++++ tools/intel_reg_spec.h | 10 ++ 4 files changed, 263 insertions(+), 3 deletions(-)
lib/intel_reg.h +12 -3
@@ -46,9 +46,18 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE./* I/O register offsets */ -#define SRX 0x3C4/* p208 */ -#define GRX 0x3CE/* p213 */ -#define ARX 0x3C0/* p224 */ +#define CRX_MDA 0x3B4 +#define CRD_MDA 0x3B5 +#define ST01_MDA 0x3BA +#define ARX 0x3C0 +#define ARD_R 0x3C1 +#define SRX 0x3C4 +#define SRD 0x3C5 +#define GRX 0x3CE +#define GRD 0x3CF +#define CRX_CGA 0x3D4 +#define CRD_CGA 0x3D5 +#define ST01_CGA 0x3DA/* VGA Color Palette Registers */ #define DACMASK 0x3C6/* p232 */
tools/intel_reg.c +201 -0
230 lines not on this page · raw message
tools/intel_reg_spec.c +40 -0
@@ -63,11 +63,51 @@ static const struct port_desc port_descs[] = { .port = PORT_MCHBAR_8, .stride = 1, }, + { + .name = "mmio-ar", + .port = PORT_MMIO_VGA_AR, + .stride = 1, + }, + { + .name = "mmio-sr", + .port = PORT_MMIO_VGA_SR, + .stride = 1, + }, + { + .name = "mmio-gr", + .port = PORT_MMIO_VGA_GR, + .stride = 1, + }, + { + .name = "mmio-cr", + .port = PORT_MMIO_VGA_CR, + .stride = 1, + }, { .name = "portio", .port = PORT_PORTIO, .stride = 1, }, + { + .name = "portio-ar", + .port = PORT_PORTIO_VGA_AR, + .stride = 1, + }, + { + .name = "portio-sr", + .port = PORT_PORTIO_VGA_SR, + .stride = 1, + }, + { + .name = "portio-gr", + .port = PORT_PORTIO_VGA_GR, + .stride = 1, + }, + { + .name = "portio-cr", + .port = PORT_PORTIO_VGA_CR, + .stride = 1, + }, { .name = "bunit", .port = PORT_BUNIT,
tools/intel_reg_spec.h +10 -0
@@ -33,8 +33,18 @@ enum port_addr {PORT_MCHBAR_16 ,PORT_MCHBAR_8 , +PORT_MMIO_VGA_AR , +PORT_MMIO_VGA_SR , +PORT_MMIO_VGA_GR , +PORT_MMIO_VGA_CR , +PORT_PORTIO , +PORT_PORTIO_VGA_AR , +PORT_PORTIO_VGA_SR , +PORT_PORTIO_VGA_GR , +PORT_PORTIO_VGA_CR , +PORT_NONE =0 , /* vlv */
Signature · 6 lines
2.24.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.BAT: failure for series starting with [i-g-t,1/4] tools/intel_reg: Simplify negative ports
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: series starting with [i-g-t,1/4] tools/intel_reg: Simplify negative ports
URL : https://patchwork.freedesktop.org/series/74389/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_8080 -> IGTPW_4272
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_4272 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_4272, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4272/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_4272:
### IGT changes ###
#### Possible regressions ####
* igt@runner@aborted:
- fi-hsw-peppy: NOTRUN -> [FAIL][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4272/fi-hsw-peppy/igt@[email protected]
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* {igt@i915_selftest@live@ring_submission}:
- fi-hsw-peppy: [PASS][2] -> [INCOMPLETE][3]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8080/fi-hsw-peppy/igt@i915_selftest@live@ring_submission.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4272/fi-hsw-peppy/igt@i915_selftest@live@ring_submission.html
Known issues
------------
Here are the changes found in IGTPW_4272 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_frontbuffer_tracking@basic:
- fi-hsw-peppy: [PASS][4] -> [DMESG-WARN][5] ([i915#44])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8080/fi-hsw-peppy/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4272/fi-hsw-peppy/igt@[email protected]
* igt@prime_vgem@basic-read:
- fi-tgl-y: [PASS][6] -> [DMESG-WARN][7] ([CI#94] / [i915#402]) +2 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8080/fi-tgl-y/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4272/fi-tgl-y/igt@[email protected]
#### Possible fixes ####
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][8] ([fdo#111096] / [i915#323]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8080/fi-kbl-7500u/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4272/fi-kbl-7500u/igt@[email protected]
* igt@prime_self_import@basic-llseek-size:
- fi-tgl-y: [DMESG-WARN][10] ([CI#94] / [i915#402]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8080/fi-tgl-y/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4272/fi-tgl-y/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[CI#94]: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/94
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[i915#323]: https://gitlab.freedesktop.org/drm/intel/issues/323
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#44]: https://gitlab.freedesktop.org/drm/intel/issues/44
Participating hosts (47 -> 44)
------------------------------
Additional (3): fi-gdg-551 fi-ivb-3770 fi-snb-2520m
Missing (6): fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5495 -> IGTPW_4272
CI-20190529: 20190529
CI_DRM_8080: d122b6eaf8f3999f69ddd9cfde05cc0775e0e68e @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4272: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4272/index.html
IGT_5495: 22df72de8affcec22d9f354bb6148d77f60cc580 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4272/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 15 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Let's avoid having to type in the explicit negative value for all the port enums.
Signed-off-by Ville Syrjälä <[email protected]>--- tools/intel_reg_spec.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)tools/intel_reg_spec.h +0
-0
tools/intel_reg_spec.h line 26
Quoted 2 lines
tools/intel_reg_spec.h +0
-0@@ -25,10 +25,11 @@#define __INTEL_REG_SPEC_H__
Might copy-paste this comment
/* Negative port numbers are not real sideband ports. */
from intel_reg.c somewhere here.
Quoted 12 lines
tools/intel_reg_spec.h +4
-3enum port_addr { +PORT_MMIO =-127 , +PORT_PORTIO_VGA ,/* see vga reg read/write */ +PORT_MMIO_VGA ,/* see vga reg read/write */ +PORT_NONE =0 , -PORT_MMIO =-1 , -PORT_PORTIO_VGA =-2 ,/* see vga reg read/write */ -PORT_MMIO_VGA =-3 ,/* see vga reg read/write */ /* vlv */ PORT_BUNIT =0x03 ,
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev