amdgpu/dc: use the builtin constant p trick on the 31/32 fixed point.
authorDave Airlie <airlied@redhat.com>
Fri, 29 Sep 2017 07:13:26 +0000 (17:13 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Sep 2017 17:03:43 +0000 (13:03 -0400)
commitc233e91b0f3f7c9abc80eae491fa6507a24a8a32
tree0d3caca7e98f32c8844e80d511f70324dca295b3
parentdfd1e5ce673b8b2557d622dc99735e2d7ad5ba5b
amdgpu/dc: use the builtin constant p trick on the 31/32 fixed point.

This only gets us 100 bytes, but may as well be consistent.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.c
drivers/gpu/drm/amd/display/include/fixed31_32.h