diff options
Diffstat (limited to 'drivers/video/riva/riva_hw.h')
-rw-r--r-- | drivers/video/riva/riva_hw.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/drivers/video/riva/riva_hw.h b/drivers/video/riva/riva_hw.h index a1e71a626df2..c2769f73e0b2 100644 --- a/drivers/video/riva/riva_hw.h +++ b/drivers/video/riva/riva_hw.h | |||
@@ -463,7 +463,6 @@ typedef struct _riva_hw_inst | |||
463 | * Common chip functions. | 463 | * Common chip functions. |
464 | */ | 464 | */ |
465 | int (*Busy)(struct _riva_hw_inst *); | 465 | int (*Busy)(struct _riva_hw_inst *); |
466 | void (*CalcStateExt)(struct _riva_hw_inst *,struct _riva_hw_state *,int,int,int,int,int); | ||
467 | void (*LoadStateExt)(struct _riva_hw_inst *,struct _riva_hw_state *); | 466 | void (*LoadStateExt)(struct _riva_hw_inst *,struct _riva_hw_state *); |
468 | void (*UnloadStateExt)(struct _riva_hw_inst *,struct _riva_hw_state *); | 467 | void (*UnloadStateExt)(struct _riva_hw_inst *,struct _riva_hw_state *); |
469 | void (*SetStartAddress)(struct _riva_hw_inst *,U032); | 468 | void (*SetStartAddress)(struct _riva_hw_inst *,U032); |
@@ -528,6 +527,22 @@ typedef struct _riva_hw_state | |||
528 | U032 pitch2; | 527 | U032 pitch2; |
529 | U032 pitch3; | 528 | U032 pitch3; |
530 | } RIVA_HW_STATE; | 529 | } RIVA_HW_STATE; |
530 | |||
531 | /* | ||
532 | * function prototypes | ||
533 | */ | ||
534 | |||
535 | extern int CalcStateExt | ||
536 | ( | ||
537 | RIVA_HW_INST *chip, | ||
538 | RIVA_HW_STATE *state, | ||
539 | int bpp, | ||
540 | int width, | ||
541 | int hDisplaySize, | ||
542 | int height, | ||
543 | int dotClock | ||
544 | ); | ||
545 | |||
531 | /* | 546 | /* |
532 | * External routines. | 547 | * External routines. |
533 | */ | 548 | */ |