summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r600_blit_shaders.h
diff options
context:
space:
mode:
authorSteven Fuerst <svfuerst@gmail.com>2012-08-15 15:07:14 -0700
committerAlex Deucher <alexander.deucher@amd.com>2012-09-20 13:10:33 -0400
commit7ff64fcaa7b7ba62d12758e49643f31dd9e90ece (patch)
treee5deb48d04a5c5409cf960077918752147908293 /drivers/gpu/drm/radeon/r600_blit_shaders.h
parentee93b86be118dcdec1a8e29983ed1d010c71bfee (diff)
downloadlinux-7ff64fcaa7b7ba62d12758e49643f31dd9e90ece.tar.bz2
Rename i2f() to int2float(), and make it global so one copy can be removed.
Remove the copy of i2f() in r600_blit_kms.c We rename the function to something longer now that it is a global symbol. This reduces the likelyhood of unintended clashes later. This might be a candidate for inclusion inside general drm infrastructure. However, at the moment only the radeon driver uses it. Signed-off-by: Steven Fuerst <svfuerst@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_blit_shaders.h')
-rw-r--r--drivers/gpu/drm/radeon/r600_blit_shaders.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600_blit_shaders.h b/drivers/gpu/drm/radeon/r600_blit_shaders.h
index f437d36dd98c..e17c2cbc6627 100644
--- a/drivers/gpu/drm/radeon/r600_blit_shaders.h
+++ b/drivers/gpu/drm/radeon/r600_blit_shaders.h
@@ -35,4 +35,5 @@ extern const u32 r6xx_default_state[];
extern const u32 r6xx_ps_size, r6xx_vs_size;
extern const u32 r6xx_default_size, r7xx_default_size;
+uint32_t int2float(uint32_t x);
#endif