summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/include
diff options
context:
space:
mode:
authorTyler DiBattista <tyler.dibattista@amd.com>2019-02-11 19:22:49 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-03-19 23:04:02 +0300
commit7cef6a120ec4d04c204b2caac226af473b67e410 (patch)
tree8b68cceafa81753c7c77bd09cb63ebdd5544cc03 /drivers/gpu/drm/amd/display/include
parente85c2d63a1c480c3e961a301c8c7691dc0bb841b (diff)
downloadlinux-7cef6a120ec4d04c204b2caac226af473b67e410.tar.xz
drm/amd/display: Add function to create 4d19 fixed point
[Why] Implemented for future use Signed-off-by: Tyler DiBattista <tyler.dibattista@amd.com> Reviewed-by: Eric Bernstein <Eric.Bernstein@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/include')
-rw-r--r--drivers/gpu/drm/amd/display/include/fixed31_32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/include/fixed31_32.h b/drivers/gpu/drm/amd/display/include/fixed31_32.h
index 52a73332befb..89ef9f6860e5 100644
--- a/drivers/gpu/drm/amd/display/include/fixed31_32.h
+++ b/drivers/gpu/drm/amd/display/include/fixed31_32.h
@@ -503,6 +503,8 @@ static inline int dc_fixpt_ceil(struct fixed31_32 arg)
* fractional
*/
+unsigned int dc_fixpt_u4d19(struct fixed31_32 arg);
+
unsigned int dc_fixpt_u3d19(struct fixed31_32 arg);
unsigned int dc_fixpt_u2d19(struct fixed31_32 arg);