[PATCH] vgahw: Fix DACDelay() macro to use the driver's vtable

Mark Kettenis mark.kettenis at xs4all.nl
Wed Jan 4 08:50:41 PST 2012

> From: Adam Jackson <ajax at redhat.com>
> Date: Wed,  4 Jan 2012 11:39:33 -0500
> We don't want to unconditionally use I/O routines here, since if the
> driver is using mmap'd VGA ports then the I/O handle won't be set up.

Hmm, well, reading from mmap'd VGA ports is unlikely to result in the
same timing as reading from the "real" I/O ports.  But I guess there's
nothing really that can be done about that.

> Tested-by: Jeff Chua <jeff.chua.linux at gmail.com>
> Signed-off-by: Adam Jackson <ajax at redhat.com>


Reviewed-by: Mark Kettenis <kettenis at openbsd.org>

> ---
>  hw/xfree86/vgahw/vgaHW.h |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)

More information about the xorg-devel mailing list