diff options
| author | Kumar, Mahesh <mahesh1.kumar@intel.com> | 2017-07-05 20:01:44 +0530 |
|---|---|---|
| committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-07-13 16:37:02 +0200 |
| commit | 07ab976d1971a91a7ac25d4782dc8985a2314b87 (patch) | |
| tree | e5eaac530e721fd9c4c94576114426c7367fcabc /lib/mpi/longlong.h | |
| parent | 61f3e7704897188d85e5698980316f2929a7c753 (diff) | |
drm/i915: take-out common clamping code of fixed16 wrappers
This patch creates a new function for clamping u64 to fixed16.
And make use of this function in other fixed16 wrappers.
Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170705143154.32132-2-mahesh1.kumar@intel.com
Diffstat (limited to 'lib/mpi/longlong.h')
0 files changed, 0 insertions, 0 deletions
