diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-04-30 15:58:21 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-05-11 16:17:58 +0300 |
commit | 260a6c1bdf1e072ae4d96f0d1ec2917237f1b627 (patch) | |
tree | 60654d2c3122bd7ef89f043140a8ac9cc8d0b3e4 /drivers/gpu/drm/gma500/accel_2d.c | |
parent | 90c49a09c8495f1eac05b42a3f79fdc6bcb1eef0 (diff) |
drm/i915: Fix glk watermark calculations
GLK wants the +1 adjustement for the "blocks per line" value
for x-tile/y-tile, just like cnl+.
Also the x-tile and linear cases are almost identical. The only
difference is this +1 which is always done for glk+, and only
done for linear on skl/bxt. Let's unify it to a single branch
with a special case for the +1, just like we do for y-tile.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200430125822.21985-1-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/accel_2d.c')
0 files changed, 0 insertions, 0 deletions