]> 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)
commitb23000212b2813820a5ab7cbd716255e1c56c42a
tree37350e0e8c55c9ff483d8a1ec1d31ab3945189e4
parenta4e28a7060d0e684bb3be97a09da7eaaeb61f824
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