[PATCH] drm/aspeed: Fix vga_pw sysfs output

Jeremy Kerr jk at codeconstruct.com.au
Fri Nov 19 17:54:01 AEDT 2021

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 at codeconstruct.com.au>



More information about the Linux-aspeed mailing list