Rev 5078 | Rev 6104 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5078 | Rev 5271 | ||
---|---|---|---|
Line 319... | Line 319... | ||
319 | bool enabled; |
319 | bool enabled; |
320 | bool can_tile; |
320 | bool can_tile; |
321 | uint32_t crtc_offset; |
321 | uint32_t crtc_offset; |
322 | struct drm_gem_object *cursor_bo; |
322 | struct drm_gem_object *cursor_bo; |
323 | uint64_t cursor_addr; |
323 | uint64_t cursor_addr; |
- | 324 | int cursor_x; |
|
- | 325 | int cursor_y; |
|
- | 326 | int cursor_hot_x; |
|
- | 327 | int cursor_hot_y; |
|
324 | int cursor_width; |
328 | int cursor_width; |
325 | int cursor_height; |
329 | int cursor_height; |
326 | int max_cursor_width; |
330 | int max_cursor_width; |
327 | int max_cursor_height; |
331 | int max_cursor_height; |
328 | uint32_t legacy_display_base_addr; |
332 | uint32_t legacy_display_base_addr; |
Line 460... | Line 464... | ||
460 | struct radeon_gpio_rec { |
464 | struct radeon_gpio_rec { |
461 | bool valid; |
465 | bool valid; |
462 | u8 id; |
466 | u8 id; |
463 | u32 reg; |
467 | u32 reg; |
464 | u32 mask; |
468 | u32 mask; |
- | 469 | u32 shift; |
|
465 | }; |
470 | }; |
Line 466... | Line 471... | ||
466 | 471 | ||
467 | struct radeon_hpd { |
472 | struct radeon_hpd { |
468 | enum radeon_hpd_id hpd; |
473 | enum radeon_hpd_id hpd; |
Line 746... | Line 751... | ||
746 | struct radeon_atom_ss *ss, |
751 | struct radeon_atom_ss *ss, |
747 | int id); |
752 | int id); |
748 | extern bool radeon_atombios_get_asic_ss_info(struct radeon_device *rdev, |
753 | extern bool radeon_atombios_get_asic_ss_info(struct radeon_device *rdev, |
749 | struct radeon_atom_ss *ss, |
754 | struct radeon_atom_ss *ss, |
750 | int id, u32 clock); |
755 | int id, u32 clock); |
- | 756 | extern struct radeon_gpio_rec radeon_atombios_lookup_gpio(struct radeon_device *rdev, |
|
- | 757 | u8 id); |
|
Line 751... | Line 758... | ||
751 | 758 | ||
752 | extern void radeon_compute_pll_legacy(struct radeon_pll *pll, |
759 | extern void radeon_compute_pll_legacy(struct radeon_pll *pll, |
753 | uint64_t freq, |
760 | uint64_t freq, |
754 | uint32_t *dot_clock_p, |
761 | uint32_t *dot_clock_p, |
Line 775... | Line 782... | ||
775 | extern void atombios_dvo_setup(struct drm_encoder *encoder, int action); |
782 | extern void atombios_dvo_setup(struct drm_encoder *encoder, int action); |
776 | extern void atombios_digital_setup(struct drm_encoder *encoder, int action); |
783 | extern void atombios_digital_setup(struct drm_encoder *encoder, int action); |
777 | extern int atombios_get_encoder_mode(struct drm_encoder *encoder); |
784 | extern int atombios_get_encoder_mode(struct drm_encoder *encoder); |
778 | extern bool atombios_set_edp_panel_power(struct drm_connector *connector, int action); |
785 | extern bool atombios_set_edp_panel_power(struct drm_connector *connector, int action); |
779 | extern void radeon_encoder_set_active_device(struct drm_encoder *encoder); |
786 | extern void radeon_encoder_set_active_device(struct drm_encoder *encoder); |
- | 787 | extern bool radeon_encoder_is_digital(struct drm_encoder *encoder); |
|
Line 780... | Line 788... | ||
780 | 788 | ||
781 | extern void radeon_crtc_load_lut(struct drm_crtc *crtc); |
789 | extern void radeon_crtc_load_lut(struct drm_crtc *crtc); |
782 | extern int atombios_crtc_set_base(struct drm_crtc *crtc, int x, int y, |
790 | extern int atombios_crtc_set_base(struct drm_crtc *crtc, int x, int y, |
783 | struct drm_framebuffer *old_fb); |
791 | struct drm_framebuffer *old_fb); |
Line 799... | Line 807... | ||
799 | int x, int y, |
807 | int x, int y, |
800 | enum mode_set_atomic state); |
808 | enum mode_set_atomic state); |
801 | extern int radeon_crtc_do_set_base(struct drm_crtc *crtc, |
809 | extern int radeon_crtc_do_set_base(struct drm_crtc *crtc, |
802 | struct drm_framebuffer *fb, |
810 | struct drm_framebuffer *fb, |
803 | int x, int y, int atomic); |
811 | int x, int y, int atomic); |
804 | extern int radeon_crtc_cursor_set(struct drm_crtc *crtc, |
812 | extern int radeon_crtc_cursor_set2(struct drm_crtc *crtc, |
805 | struct drm_file *file_priv, |
813 | struct drm_file *file_priv, |
806 | uint32_t handle, |
814 | uint32_t handle, |
807 | uint32_t width, |
815 | uint32_t width, |
808 | uint32_t height); |
816 | uint32_t height, |
- | 817 | int32_t hot_x, |
|
- | 818 | int32_t hot_y); |
|
809 | extern int radeon_crtc_cursor_move(struct drm_crtc *crtc, |
819 | extern int radeon_crtc_cursor_move(struct drm_crtc *crtc, |
810 | int x, int y); |
820 | int x, int y); |
- | 821 | extern void radeon_cursor_reset(struct drm_crtc *crtc); |
|
Line 811... | Line 822... | ||
811 | 822 | ||
812 | extern int radeon_get_crtc_scanoutpos(struct drm_device *dev, int crtc, |
823 | extern int radeon_get_crtc_scanoutpos(struct drm_device *dev, int crtc, |
813 | unsigned int flags, |
824 | unsigned int flags, |
814 | int *vpos, int *hpos, void *stime, |
825 | int *vpos, int *hpos, void *stime, |