summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_file.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2018-12-21 19:14:31 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2019-01-30 16:10:47 +0200
commitb19c9bcaa20ec10bc39389f2b8bfe4c57cde7cbd (patch)
tree93f10f2044b68701dbf8e9da0cbdbe7e8ad5a38e /drivers/gpu/drm/drm_file.c
parent17b16054b1115559df126c9d7e727770194d39e3 (diff)
downloadlwn-b19c9bcaa20ec10bc39389f2b8bfe4c57cde7cbd.tar.gz
lwn-b19c9bcaa20ec10bc39389f2b8bfe4c57cde7cbd.zip
drm/i915: Fix > vs >= mismatch in watermark/ddb calculations
Bspec says we have to reject the watermark if it's >= the ddb allocation. Fix the code to reject the == case as it should. For transition watermarks we can just use >=, for the rest we'll do +1 when calculating the minimum ddb allocation size. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181221171436.8218-5-ville.syrjala@linux.intel.com Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'drivers/gpu/drm/drm_file.c')
0 files changed, 0 insertions, 0 deletions