public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/2] tools/intel_reg: Set register stride to 1 for VGA registers
@ 2015-09-09 19:56 ville.syrjala
  2015-09-09 19:56 ` [PATCH i-g-t 2/2] tools/intel_reg: Print the potential port names in the help text ville.syrjala
  0 siblings, 1 reply; 3+ messages in thread
From: ville.syrjala @ 2015-09-09 19:56 UTC (permalink / raw)
  To: intel-gfx

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

VGA registers are generally 8 bits long, so set the stride to 1 byte.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 tools/intel_reg_spec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/intel_reg_spec.c b/tools/intel_reg_spec.c
index 6b7e30c..b49e0dc 100644
--- a/tools/intel_reg_spec.c
+++ b/tools/intel_reg_spec.c
@@ -41,12 +41,12 @@ static const struct port_desc port_descs[] = {
 	{
 		.name = "portio-vga",
 		.port = PORT_PORTIO_VGA,
-		.stride = 4,
+		.stride = 1,
 	},
 	{
 		.name = "mmio-vga",
 		.port = PORT_MMIO_VGA,
-		.stride = 4,
+		.stride = 1,
 	},
 	{
 		.name = "bunit",
-- 
2.4.6

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-10 10:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-09 19:56 [PATCH i-g-t 1/2] tools/intel_reg: Set register stride to 1 for VGA registers ville.syrjala
2015-09-09 19:56 ` [PATCH i-g-t 2/2] tools/intel_reg: Print the potential port names in the help text ville.syrjala
2015-09-10 10:23   ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox