diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
| -rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index dd4da88b3ab1..7501ba318c67 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
| @@ -732,6 +732,12 @@ struct cik_irq_stat_regs { | |||
| 732 | u32 disp_int_cont4; | 732 | u32 disp_int_cont4; |
| 733 | u32 disp_int_cont5; | 733 | u32 disp_int_cont5; |
| 734 | u32 disp_int_cont6; | 734 | u32 disp_int_cont6; |
| 735 | u32 d1grph_int; | ||
| 736 | u32 d2grph_int; | ||
| 737 | u32 d3grph_int; | ||
| 738 | u32 d4grph_int; | ||
| 739 | u32 d5grph_int; | ||
| 740 | u32 d6grph_int; | ||
| 735 | }; | 741 | }; |
| 736 | 742 | ||
| 737 | union radeon_irq_stat_regs { | 743 | union radeon_irq_stat_regs { |
| @@ -1647,6 +1653,7 @@ struct radeon_vce { | |||
| 1647 | unsigned fb_version; | 1653 | unsigned fb_version; |
| 1648 | atomic_t handles[RADEON_MAX_VCE_HANDLES]; | 1654 | atomic_t handles[RADEON_MAX_VCE_HANDLES]; |
| 1649 | struct drm_file *filp[RADEON_MAX_VCE_HANDLES]; | 1655 | struct drm_file *filp[RADEON_MAX_VCE_HANDLES]; |
| 1656 | unsigned img_size[RADEON_MAX_VCE_HANDLES]; | ||
| 1650 | struct delayed_work idle_work; | 1657 | struct delayed_work idle_work; |
| 1651 | }; | 1658 | }; |
| 1652 | 1659 | ||
| @@ -1660,7 +1667,7 @@ int radeon_vce_get_destroy_msg(struct radeon_device *rdev, int ring, | |||
| 1660 | uint32_t handle, struct radeon_fence **fence); | 1667 | uint32_t handle, struct radeon_fence **fence); |
| 1661 | void radeon_vce_free_handles(struct radeon_device *rdev, struct drm_file *filp); | 1668 | void radeon_vce_free_handles(struct radeon_device *rdev, struct drm_file *filp); |
| 1662 | void radeon_vce_note_usage(struct radeon_device *rdev); | 1669 | void radeon_vce_note_usage(struct radeon_device *rdev); |
| 1663 | int radeon_vce_cs_reloc(struct radeon_cs_parser *p, int lo, int hi); | 1670 | int radeon_vce_cs_reloc(struct radeon_cs_parser *p, int lo, int hi, unsigned size); |
| 1664 | int radeon_vce_cs_parse(struct radeon_cs_parser *p); | 1671 | int radeon_vce_cs_parse(struct radeon_cs_parser *p); |
| 1665 | bool radeon_vce_semaphore_emit(struct radeon_device *rdev, | 1672 | bool radeon_vce_semaphore_emit(struct radeon_device *rdev, |
| 1666 | struct radeon_ring *ring, | 1673 | struct radeon_ring *ring, |
| @@ -2644,7 +2651,8 @@ void r100_pll_errata_after_index(struct radeon_device *rdev); | |||
| 2644 | #define ASIC_IS_DCE8(rdev) ((rdev->family >= CHIP_BONAIRE)) | 2651 | #define ASIC_IS_DCE8(rdev) ((rdev->family >= CHIP_BONAIRE)) |
| 2645 | #define ASIC_IS_DCE81(rdev) ((rdev->family == CHIP_KAVERI)) | 2652 | #define ASIC_IS_DCE81(rdev) ((rdev->family == CHIP_KAVERI)) |
| 2646 | #define ASIC_IS_DCE82(rdev) ((rdev->family == CHIP_BONAIRE)) | 2653 | #define ASIC_IS_DCE82(rdev) ((rdev->family == CHIP_BONAIRE)) |
| 2647 | #define ASIC_IS_DCE83(rdev) ((rdev->family == CHIP_KABINI)) | 2654 | #define ASIC_IS_DCE83(rdev) ((rdev->family == CHIP_KABINI) || \ |
| 2655 | (rdev->family == CHIP_MULLINS)) | ||
| 2648 | 2656 | ||
| 2649 | #define ASIC_IS_LOMBOK(rdev) ((rdev->ddev->pdev->device == 0x6849) || \ | 2657 | #define ASIC_IS_LOMBOK(rdev) ((rdev->ddev->pdev->device == 0x6849) || \ |
| 2650 | (rdev->ddev->pdev->device == 0x6850) || \ | 2658 | (rdev->ddev->pdev->device == 0x6850) || \ |
