summaryrefslogtreecommitdiff
path: root/include/target
diff options
context:
space:
mode:
authorKumar, Mahesh <mahesh1.kumar@intel.com>2017-07-05 20:01:45 +0530
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2017-07-13 16:37:20 +0200
commiteed02a7b53131abb796ba8a8cf2886cee366a89f (patch)
tree9b6c017f2f0073eb485e0df7e1471853d0bc3bc0 /include/target
parent07ab976d1971a91a7ac25d4782dc8985a2314b87 (diff)
drm/i915: Always perform internal fixed16 division in 64 bits
This patch combines fixed_16_16_div & fixed_16_16_div_u64 wrappers. And new fixed_16_16_div wrapper always performs division operation in u64 internally, to avoid any data loss which was happening in earlier version of wrapper. earlier wrapper was converting u32 to fixed16 in 32 bit so we were losing 16-MSB data. 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-3-mahesh1.kumar@intel.com [mlankhorst: Fix typo in commit message.]
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions