From: Dave Airlie <airlied@linux.ie>
To: torvalds@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: drm fixup 1/2 - missing bus_address assignment
Date: Fri, 27 Aug 2004 15:12:30 +0100 (IST) [thread overview]
Message-ID: <Pine.LNX.4.58.0408271510530.32411@skynet> (raw)
This is a series of two minor patches for the DRM, one fixes a missing
bus_address and the other from Arjan optimises some access in the i8x0
drivers..
Patch from Tom Arbuckle for missing bus_address
Signed-off-by: Dave Airlie <airlied@linux.ie>
diff -Nru a/drivers/char/drm/drm_bufs.h b/drivers/char/drm/drm_bufs.h
--- a/drivers/char/drm/drm_bufs.h Sat Aug 28 00:02:27 2004
+++ b/drivers/char/drm/drm_bufs.h Sat Aug 28 00:02:28 2004
@@ -691,6 +691,7 @@
buf->used = 0;
buf->offset = (dma->byte_count + byte_count + offset);
buf->address = (void *)(page + offset);
+ buf->bus_address = virt_to_bus(buf->address);
buf->next = NULL;
buf->waiting = 0;
buf->pending = 0;
next reply other threads:[~2004-08-27 14:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-27 14:12 Dave Airlie [this message]
2004-08-27 14:21 ` Christoph Hellwig
2004-08-27 23:55 ` Dave Airlie
2004-08-28 0:12 ` David S. Miller
2004-08-28 0:16 ` Dave Airlie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.58.0408271510530.32411@skynet \
--to=airlied@linux.ie \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®