Thread (5 messages) flat view 5 messages, 4 authors, 2021-11-19

[PATCH] drm/aspeed: Fix vga_pw sysfs output

From: Jeremy Kerr <jk@codeconstruct.com.au>
Date: 2021-11-19 08:52:50
Also in: dri-devel

Hi Joel,
Before the drm driver had support for this file there was a driver
that exposed the contents of the vga password register to userspace.
It would present the entire register instead of interpreting it.

The drm implementation chose to mask of the lower bit, without
explaining why. This breaks the existing userspace, which is looking
for 0xa8 in the lower byte.

Change our implementation to expose the entire register.
As a userspace consumer of this:

Reviewed-by: Jeremy Kerr <jk@codeconstruct.com.au>

Thanks!


Jeremy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help