aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-12-15 18:52:01 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-15 18:52:01 -0500
commit988adfdffdd43cfd841df734664727993076d7cb (patch)
tree6794f7bba8f595500c2b7d33376ad6614adcfaf2 /drivers/gpu/drm/radeon/radeon_asic.h
parent26178ec11ef3c6c814bf16a0a2b9c2f7242e3c64 (diff)
parent4e0cd68115620bc3236ff4e58e4c073948629b41 (diff)
Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
Pull drm updates from Dave Airlie: "Highlights: - AMD KFD driver merge This is the AMD HSA interface for exposing a lowlevel interface for GPGPU use. They have an open source userspace built on top of this interface, and the code looks as good as it was going to get out of tree. - Initial atomic modesetting work The need for an atomic modesetting interface to allow userspace to try and send a complete set of modesetting state to the driver has arisen, and been suffering from neglect this past year. No more, the start of the common code and changes for msm driver to use it are in this tree. Ongoing work to get the userspace ioctl finished and the code clean will probably wait until next kernel. - DisplayID 1.3 and tiled monitor exposed to userspace. Tiled monitor property is now exposed for userspace to make use of. - Rockchip drm driver merged. - imx gpu driver moved out of staging Other stuff: - core: panel - MIPI DSI + new panels. expose suggested x/y properties for virtual GPUs - i915: Initial Skylake (SKL) support gen3/4 reset work start of dri1/ums removal infoframe tracking fixes for lots of things. - nouveau: tegra k1 voltage support GM204 modesetting support GT21x memory reclocking work - radeon: CI dpm fixes GPUVM improvements Initial DPM fan control - rcar-du: HDMI support added removed some support for old boards slave encoder driver for Analog Devices adv7511 - exynos: Exynos4415 SoC support - msm: a4xx gpu support atomic helper conversion - tegra: iommu support universal plane support ganged-mode DSI support - sti: HDMI i2c improvements - vmwgfx: some late fixes. - qxl: use suggested x/y properties" * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (969 commits) drm: sti: fix module compilation issue drm/i915: save/restore GMBUS freq across suspend/resume on gen4 drm: sti: correctly cleanup CRTC and planes drm: sti: add HQVDP plane drm: sti: add cursor plane drm: sti: enable auxiliary CRTC drm: sti: fix delay in VTG programming drm: sti: prepare sti_tvout to support auxiliary crtc drm: sti: use drm_crtc_vblank_{on/off} instead of drm_vblank_{on/off} drm: sti: fix hdmi avi infoframe drm: sti: remove event lock while disabling vblank drm: sti: simplify gdp code drm: sti: clear all mixer control drm: sti: remove gpio for HDMI hot plug detection drm: sti: allow to change hdmi ddc i2c adapter drm/doc: Document drm_add_modes_noedid() usage drm/i915: Remove '& 0xffff' from the mask given to WA_REG() drm/i915: Invert the mask and val arguments in wa_add() and WA_REG() drm: Zero out DRM object memory upon cleanup drm/i915/bdw: Fix the write setting up the WIZ hashing mode ...
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon_asic.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h
index d8ace5b28a5b..2a45d548d5ec 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@ -599,7 +599,8 @@ int cayman_asic_reset(struct radeon_device *rdev);
599void cayman_ring_ib_execute(struct radeon_device *rdev, struct radeon_ib *ib); 599void cayman_ring_ib_execute(struct radeon_device *rdev, struct radeon_ib *ib);
600int cayman_vm_init(struct radeon_device *rdev); 600int cayman_vm_init(struct radeon_device *rdev);
601void cayman_vm_fini(struct radeon_device *rdev); 601void cayman_vm_fini(struct radeon_device *rdev);
602void cayman_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm); 602void cayman_vm_flush(struct radeon_device *rdev, struct radeon_ring *ring,
603 unsigned vm_id, uint64_t pd_addr);
603uint32_t cayman_vm_page_flags(struct radeon_device *rdev, uint32_t flags); 604uint32_t cayman_vm_page_flags(struct radeon_device *rdev, uint32_t flags);
604int evergreen_ib_parse(struct radeon_device *rdev, struct radeon_ib *ib); 605int evergreen_ib_parse(struct radeon_device *rdev, struct radeon_ib *ib);
605int evergreen_dma_ib_parse(struct radeon_device *rdev, struct radeon_ib *ib); 606int evergreen_dma_ib_parse(struct radeon_device *rdev, struct radeon_ib *ib);
@@ -624,7 +625,8 @@ void cayman_dma_vm_set_pages(struct radeon_device *rdev,
624 uint32_t incr, uint32_t flags); 625 uint32_t incr, uint32_t flags);
625void cayman_dma_vm_pad_ib(struct radeon_ib *ib); 626void cayman_dma_vm_pad_ib(struct radeon_ib *ib);
626 627
627void cayman_dma_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm); 628void cayman_dma_vm_flush(struct radeon_device *rdev, struct radeon_ring *ring,
629 unsigned vm_id, uint64_t pd_addr);
628 630
629u32 cayman_gfx_get_rptr(struct radeon_device *rdev, 631u32 cayman_gfx_get_rptr(struct radeon_device *rdev,
630 struct radeon_ring *ring); 632 struct radeon_ring *ring);
@@ -699,7 +701,8 @@ int si_irq_set(struct radeon_device *rdev);
699int si_irq_process(struct radeon_device *rdev); 701int si_irq_process(struct radeon_device *rdev);
700int si_vm_init(struct radeon_device *rdev); 702int si_vm_init(struct radeon_device *rdev);
701void si_vm_fini(struct radeon_device *rdev); 703void si_vm_fini(struct radeon_device *rdev);
702void si_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm); 704void si_vm_flush(struct radeon_device *rdev, struct radeon_ring *ring,
705 unsigned vm_id, uint64_t pd_addr);
703int si_ib_parse(struct radeon_device *rdev, struct radeon_ib *ib); 706int si_ib_parse(struct radeon_device *rdev, struct radeon_ib *ib);
704struct radeon_fence *si_copy_dma(struct radeon_device *rdev, 707struct radeon_fence *si_copy_dma(struct radeon_device *rdev,
705 uint64_t src_offset, uint64_t dst_offset, 708 uint64_t src_offset, uint64_t dst_offset,
@@ -721,7 +724,8 @@ void si_dma_vm_set_pages(struct radeon_device *rdev,
721 uint64_t addr, unsigned count, 724 uint64_t addr, unsigned count,
722 uint32_t incr, uint32_t flags); 725 uint32_t incr, uint32_t flags);
723 726
724void si_dma_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm); 727void si_dma_vm_flush(struct radeon_device *rdev, struct radeon_ring *ring,
728 unsigned vm_id, uint64_t pd_addr);
725u32 si_get_xclk(struct radeon_device *rdev); 729u32 si_get_xclk(struct radeon_device *rdev);
726uint64_t si_get_gpu_clock_counter(struct radeon_device *rdev); 730uint64_t si_get_gpu_clock_counter(struct radeon_device *rdev);
727int si_set_uvd_clocks(struct radeon_device *rdev, u32 vclk, u32 dclk); 731int si_set_uvd_clocks(struct radeon_device *rdev, u32 vclk, u32 dclk);
@@ -793,7 +797,8 @@ int cik_irq_set(struct radeon_device *rdev);
793int cik_irq_process(struct radeon_device *rdev); 797int cik_irq_process(struct radeon_device *rdev);
794int cik_vm_init(struct radeon_device *rdev); 798int cik_vm_init(struct radeon_device *rdev);
795void cik_vm_fini(struct radeon_device *rdev); 799void cik_vm_fini(struct radeon_device *rdev);
796void cik_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm); 800void cik_vm_flush(struct radeon_device *rdev, struct radeon_ring *ring,
801 unsigned vm_id, uint64_t pd_addr);
797 802
798void cik_sdma_vm_copy_pages(struct radeon_device *rdev, 803void cik_sdma_vm_copy_pages(struct radeon_device *rdev,
799 struct radeon_ib *ib, 804 struct radeon_ib *ib,
@@ -811,7 +816,8 @@ void cik_sdma_vm_set_pages(struct radeon_device *rdev,
811 uint32_t incr, uint32_t flags); 816 uint32_t incr, uint32_t flags);
812void cik_sdma_vm_pad_ib(struct radeon_ib *ib); 817void cik_sdma_vm_pad_ib(struct radeon_ib *ib);
813 818
814void cik_dma_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm); 819void cik_dma_vm_flush(struct radeon_device *rdev, struct radeon_ring *ring,
820 unsigned vm_id, uint64_t pd_addr);
815int cik_ib_parse(struct radeon_device *rdev, struct radeon_ib *ib); 821int cik_ib_parse(struct radeon_device *rdev, struct radeon_ib *ib);
816u32 cik_gfx_get_rptr(struct radeon_device *rdev, 822u32 cik_gfx_get_rptr(struct radeon_device *rdev,
817 struct radeon_ring *ring); 823 struct radeon_ring *ring);