[PATCH i-g-t 1/2] tools/intel_reg: Set register stride to 1 for VGA registers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>

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

Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux