mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* vga and 64-bit memcpy's
@ 2014-09-12  3:57 Dave Airlie
  2014-09-12 10:26 ` Alan Cox
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Airlie @ 2014-09-12  3:57 UTC (permalink / raw)
  To: LKML, Alan Cox, Linus Torvalds

Got an bug report from someone using a silicon motion video card in
VGA mode about corruption that they tracked down to 64-bit memory
operations not being supported by the video card, it appears that we
probably shouldn't be using > 32-bit copies on VGA memory.

The include/linux/vt_buffer.h defaults scr_memcpyw defaults to using
memcpy, which on 64-bit x86 machines ends up as rep movsq. Is there
any way to make this use a 32-bit memcpy instead?

Dave.

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

end of thread, other threads:[~2014-10-21 19:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-12  3:57 vga and 64-bit memcpy's Dave Airlie
2014-09-12 10:26 ` Alan Cox
2014-09-12 10:48   ` Dave Airlie
2014-09-12 15:11     ` Linus Torvalds
2014-10-21  4:30       ` Dave Airlie
2014-10-21 19:53         ` Linus Torvalds

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

all inboxes | Powered by JetHome®