]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/glk: IPC linetime watermark workaround for GLK
authorKumar, Mahesh <mahesh1.kumar@intel.com>
Thu, 17 Aug 2017 13:45:25 +0000 (19:15 +0530)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 7 Sep 2017 11:34:24 +0000 (13:34 +0200)
commit9b9a59c478231375f86f2a0f148afc6805e42691
tree37350e0e8c55c9ff483d8a1ec1d31ab3945189e4
parenta073e090d87a29aa39d8461f2dcf09fda34e8761
drm/i915/glk: IPC linetime watermark workaround for GLK

IF IPC is enabled LINETIME_WM value should be half of calculated value
 line time = ROUNDDOWN(1/2 * Calculated Line Time)

Earlier code was rounding-up the value, But updated Bspec says we should
take the ROUNDDOWN. This patch corrects that as well.

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: https://patchwork.freedesktop.org/patch/msgid/20170817134529.2839-5-mahesh1.kumar@intel.com
drivers/gpu/drm/i915/intel_pm.c