diff options
author | Dave Airlie <airlied@linux.ie> | 2007-07-11 01:53:27 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-11 01:53:27 -0400 |
commit | 84b1fd103dbbe01b5905db1444d3fc8afa9a7207 (patch) | |
tree | 2088f4c8e68553e2d4f5d55fa7a714eb3fa09f9e /drivers/char/drm/via_dmablit.c | |
parent | c60ce623bd16137627009d05e311d877729f2ad6 (diff) |
drm: remove drm_file_t, drm_device_t and drm_head_t typedefs
some drivers still todo.
Signed-off-by: Dave Airlie <airlied@linux.ie>
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; |