summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/prcm_mpu7xx.h
diff options
context:
space:
mode:
authorKumar, Mahesh <mahesh1.kumar@intel.com>2016-05-20 01:03:01 +0300
committerMatt Roper <matthew.d.roper@intel.com>2016-06-01 17:37:39 +0300
commit8d19d7d9dbc25d1a1ffa602ed9eff25a88c98163 (patch)
tree2d8cc813de4a5c31ecf8d6fc5f436be142688a20 /arch/arm/mach-omap2/prcm_mpu7xx.h
parent9c2f7a9d6081072e762189a7341934d6e235cad6 (diff)
downloadlinux-8d19d7d9dbc25d1a1ffa602ed9eff25a88c98163.tar.xz
drm/i915/skl+: Use scaling amount for plane data rate calculation (v4)
if downscaling is enabled plane data rate increases according to scaling amount. take scaling amount under consideration while calculating plane data rate v2: Address Matt's comments, where data rate was overridden because of missing else. v3 (by Matt): - Add braces to 'else' branch to match kernel coding style - Adjust final calculation now that skl_plane_downscale_amount() returns 16.16 fixed point value instead of a decimal fixed point v4 (by Matt): - Avoid integer overflow by making sure final multiplication is treated as 64-bit. Cc: matthew.d.roper@intel.com Signed-off-by: Kumar, Mahesh <mahesh1.kumar@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Kumar Mahesh <mahesh1.kumar@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1463695381-21368-1-git-send-email-matthew.d.roper@intel.com
Diffstat (limited to 'arch/arm/mach-omap2/prcm_mpu7xx.h')
0 files changed, 0 insertions, 0 deletions