drm/radeon: make a few SI functions static
Subsystems (2)
PATCH 1/1 drm/radeon: make a few SI functions static
From: Alex Deucher <[email protected]>
Not used outside of si.c
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/radeon/si.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/radeon/si.c +3 -3
@@ -2334,7 +2334,7 @@ void si_pcie_gart_tlb_flush(struct radeon_device *rdev)WREG32 (VM_INVALIDATE_REQUEST ,1 ); } -int si_pcie_gart_enable (struct radeon_device *rdev) +static int si_pcie_gart_enable (struct radeon_device *rdev) {int r, i;
@@ -2407,7 +2407,7 @@ int si_pcie_gart_enable(struct radeon_device *rdev)return 0 ; } -void si_pcie_gart_disable (struct radeon_device *rdev) +static void si_pcie_gart_disable (struct radeon_device *rdev) {/* Disable all tables */ WREG32 (VM_CONTEXT0_CNTL ,0 );
@@ -2426,7 +2426,7 @@ void si_pcie_gart_disable(struct radeon_device *rdev)radeon_gart_table_vram_unpin (rdev); } -void si_pcie_gart_fini (struct radeon_device *rdev) +static void si_pcie_gart_fini (struct radeon_device *rdev) {si_pcie_gart_disable (rdev);radeon_gart_table_vram_free (rdev);
Signature · 1 line
1.7.7.5
Quoted 5 lines · On Fre, 2012-06-29 at 19:34 -0400, [email protected] wrote:
From: Alex Deucher <[email protected]>
Not used outside of
si.cSigned-off-by Alex Deucher <[email protected]>
Reviewed-by Michel Dänzer <[email protected]>
Signature · 2 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI developer
Dave, Can you pick this up for drm-next as well?
Alex
Quoted 13 lines · Michel Dänzer
Quoted 5 lines · On Fre, 2012-06-29 at 19:34 -0400, [email protected] wrote:
From: Alex Deucher <[email protected]>
Not used outside of
si.cSigned-off-by Alex Deucher <[email protected]>Reviewed-by Michel Dänzer <[email protected]>--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Debian, X and DRI developer