]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use fixed_16_16 wrapper for division operation
authorKumar, Mahesh <mahesh1.kumar@intel.com>
Wed, 17 May 2017 11:58:22 +0000 (17:28 +0530)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 17 May 2017 21:32:28 +0000 (14:32 -0700)
commitc472a55e4027d95d116fe3215e746905f8057ed8
treec63de38301cba92b4ca5650a8864f25fcea41471
parent7daf165c49e64881e55e6dfe611de0c79cb8b00b
drm/i915: Use fixed_16_16 wrapper for division operation

Don't use fixed_16_16 structure members directly, instead use wrapper to
perform fixed_16_16 division operation.

Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170517115831.13830-4-mahesh1.kumar@intel.com
drivers/gpu/drm/i915/intel_pm.c