diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 15:15:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 15:15:50 -0400 |
commit | c2dc1ad582196208a2f990eb0230eb922046c684 (patch) | |
tree | f2c7d03a9f8007af0a43111423dbf96ccef77db4 /drivers/char/drm/via_dmablit.c | |
parent | 5b37696fda07b8acf37beba3853f83106397ccdf (diff) | |
parent | ff4135aeb1f9a0201f8e22400ebc1d570df9016e (diff) |
Merge branch 'drm-patches' of ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6
* 'drm-patches' of ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
drm: remove core typedefs from the ioc32 wrappers
drm: remove sarea typedefs
drm: detypedef the hashtab and more of sman
drm: de-typedef sman
drm: detypedeffing continues...
drm: detypef waitlist/freelist/buf_entry/device_dma/drm_queue structs
drm: drop drm_vma_entry_t, drm_magic_entry_t
drm: drop drm_buf_t typedef
drm: fixup other drivers for typedef removals
drm: remove drm_file_t, drm_device_t and drm_head_t typedefs
drm: remove a bunch of typedefs on the userspace interface
r300: updates register header
radeon: add support for vblank on crtc2
drm: cleanup list initialisation
drm: fix typo on code drm getsarea
drm: remove DRM_GETSAREA and replace with drm_getsarea function
drm: cleanup use of Linux list handling macros
Diffstat (limited to 'drivers/char/drm/via_dmablit.c')
-rw-r--r-- | drivers/char/drm/via_dmablit.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/char/drm/via_dmablit.c b/drivers/char/drm/via_dmablit.c index 2881a06b6f55..fdb8609dd76f 100644 --- a/drivers/char/drm/via_dmablit.c +++ b/drivers/char/drm/via_dmablit.c | |||
@@ -207,7 +207,7 @@ via_free_sg_info(struct pci_dev *pdev, drm_via_sg_info_t *vsg) | |||
207 | */ | 207 | */ |
208 | 208 | ||
209 | static void | 209 | static void |
210 | via_fire_dmablit(drm_device_t *dev, drm_via_sg_info_t *vsg, int engine) | 210 | via_fire_dmablit(struct drm_device *dev, drm_via_sg_info_t *vsg, int engine) |
211 | { | 211 | { |
212 | drm_via_private_t *dev_priv = (drm_via_private_t *)dev->dev_private; | 212 | drm_via_private_t *dev_priv = (drm_via_private_t *)dev->dev_private; |
213 | 213 | ||
@@ -289,7 +289,7 @@ via_alloc_desc_pages(drm_via_sg_info_t *vsg) | |||
289 | } | 289 | } |
290 | 290 | ||
291 | static void | 291 | static void |
292 | via_abort_dmablit(drm_device_t *dev, int engine) | 292 | via_abort_dmablit(struct drm_device *dev, int engine) |
293 | { | 293 | { |
294 | drm_via_private_t *dev_priv = (drm_via_private_t *)dev->dev_private; | 294 | drm_via_private_t *dev_priv = (drm_via_private_t *)dev->dev_private; |
295 | 295 | ||
@@ -297,7 +297,7 @@ via_abort_dmablit(drm_device_t *dev, int engine) | |||
297 | } | 297 | } |
298 | 298 | ||
299 | static void | 299 | static void |
300 | via_dmablit_engine_off(drm_device_t *dev, int engine) | 300 | via_dmablit_engine_off(struct drm_device *dev, int engine) |
301 | { | 301 | { |
302 | drm_via_private_t *dev_priv = (drm_via_private_t *)dev->dev_private; | 302 | drm_via_private_t *dev_priv = (drm_via_private_t *)dev->dev_private; |
303 | 303 | ||
@@ -314,7 +314,7 @@ via_dmablit_engine_off(drm_device_t *dev, int engine) | |||
314 | */ | 314 | */ |
315 | 315 | ||
316 | void | 316 | void |
317 | via_dmablit_handler(drm_device_t *dev, int engine, int from_irq) | 317 | via_dmablit_handler(struct drm_device *dev, int engine, int from_irq) |
318 | { | 318 | { |
319 | drm_via_private_t *dev_priv = (drm_via_private_t *)dev->dev_private; | 319 | drm_via_private_t *dev_priv = (drm_via_private_t *)dev->dev_private; |
320 | drm_via_blitq_t *blitq = dev_priv->blit_queues + engine; | 320 | drm_via_blitq_t *blitq = dev_priv->blit_queues + engine; |
@@ -433,7 +433,7 @@ via_dmablit_active(drm_via_blitq_t *blitq, int engine, uint32_t handle, wait_que | |||
433 | */ | 433 | */ |
434 | 434 | ||
435 | static int | 435 | static int |
436 | via_dmablit_sync(drm_device_t *dev, uint32_t handle, int engine) | 436 | via_dmablit_sync(struct drm_device *dev, uint32_t handle, int engine) |
437 | { | 437 | { |
438 | 438 | ||
439 | drm_via_private_t *dev_priv = (drm_via_private_t *)dev->dev_private; | 439 | drm_via_private_t *dev_priv = (drm_via_private_t *)dev->dev_private; |
@@ -466,7 +466,7 @@ static void | |||
466 | via_dmablit_timer(unsigned long data) | 466 | via_dmablit_timer(unsigned long data) |
467 | { | 467 | { |
468 | drm_via_blitq_t *blitq = (drm_via_blitq_t *) data; | 468 | drm_via_blitq_t *blitq = (drm_via_blitq_t *) data; |
469 | drm_device_t *dev = blitq->dev; | 469 | struct drm_device *dev = blitq->dev; |
470 | int engine = (int) | 470 | int engine = (int) |
471 | (blitq - ((drm_via_private_t *)dev->dev_private)->blit_queues); | 471 | (blitq - ((drm_via_private_t *)dev->dev_private)->blit_queues); |
472 | 472 | ||
@@ -502,7 +502,7 @@ static void | |||
502 | via_dmablit_workqueue(struct work_struct *work) | 502 | via_dmablit_workqueue(struct work_struct *work) |
503 | { | 503 | { |
504 | drm_via_blitq_t *blitq = container_of(work, drm_via_blitq_t, wq); | 504 | drm_via_blitq_t *blitq = container_of(work, drm_via_blitq_t, wq); |
505 | drm_device_t *dev = blitq->dev; | 505 | struct drm_device *dev = blitq->dev; |
506 | unsigned long irqsave; | 506 | unsigned long irqsave; |
507 | drm_via_sg_info_t *cur_sg; | 507 | drm_via_sg_info_t *cur_sg; |
508 | int cur_released; | 508 | int cur_released; |
@@ -545,7 +545,7 @@ via_dmablit_workqueue(struct work_struct *work) | |||
545 | 545 | ||
546 | 546 | ||
547 | void | 547 | void |
548 | via_init_dmablit(drm_device_t *dev) | 548 | via_init_dmablit(struct drm_device *dev) |
549 | { | 549 | { |
550 | int i,j; | 550 | int i,j; |
551 | drm_via_private_t *dev_priv = (drm_via_private_t *)dev->dev_private; | 551 | drm_via_private_t *dev_priv = (drm_via_private_t *)dev->dev_private; |
@@ -582,7 +582,7 @@ via_init_dmablit(drm_device_t *dev) | |||
582 | 582 | ||
583 | 583 | ||
584 | static int | 584 | static int |
585 | via_build_sg_info(drm_device_t *dev, drm_via_sg_info_t *vsg, drm_via_dmablit_t *xfer) | 585 | via_build_sg_info(struct drm_device *dev, drm_via_sg_info_t *vsg, drm_via_dmablit_t *xfer) |
586 | { | 586 | { |
587 | int draw = xfer->to_fb; | 587 | int draw = xfer->to_fb; |
588 | int ret = 0; | 588 | int ret = 0; |
@@ -730,7 +730,7 @@ via_dmablit_release_slot(drm_via_blitq_t *blitq) | |||
730 | 730 | ||
731 | 731 | ||
732 | static int | 732 | static int |
733 | via_dmablit(drm_device_t *dev, drm_via_dmablit_t *xfer) | 733 | via_dmablit(struct drm_device *dev, drm_via_dmablit_t *xfer) |
734 | { | 734 | { |
735 | drm_via_private_t *dev_priv = (drm_via_private_t *)dev->dev_private; | 735 | drm_via_private_t *dev_priv = (drm_via_private_t *)dev->dev_private; |
736 | drm_via_sg_info_t *vsg; | 736 | drm_via_sg_info_t *vsg; |