diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-05-03 14:22:13 +0300 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-05-04 11:57:52 +0300 |
commit | 6f96f2000ac27b0f5f769b0bc2f0440ebfa1c3a3 (patch) | |
tree | 6452e599b0fa9f4bbe6d308dcc35e48532507f15 /drivers/gpu/drm/drm_atomic_helper.c | |
parent | 5f27314141757794378abb2907fb7116947d644b (diff) | |
download | linux-6f96f2000ac27b0f5f769b0bc2f0440ebfa1c3a3.tar.xz |
drm/rect: Round above 1 << 16 upwards to correct scale calculation functions.
When calculating limits we want to be as pessimistic as possible,
so we have to explicitly say whether we want to round up or down
to accurately calculate whether we are below min_scale or above
max_scale.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
[mlankhorst: Fix wording in documentation. (Ville)]
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180503112217.37292-2-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/drm_atomic_helper.c')
0 files changed, 0 insertions, 0 deletions