From: Damien Lespiau Date: Tue, 4 Nov 2014 17:06:53 +0000 (+0000) Subject: drm/i915/skl: Make 'end' of the DDB allocation entry exclusive X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~64^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16160e3dd32343de9d6115353408728adecdecfb;p=pandora-kernel.git drm/i915/skl: Make 'end' of the DDB allocation entry exclusive Ville suggested that we should use the same semantics as C arrays to reduce the number of those pesky +1/-1 in the allocation code. This patch leaves the debugfs file as is, showing the internal DDB allocation structure, not the values written in the registers. v2: Remove the test on ->end in skl_ddb_entry_size() (Ville) Reviewed-by: Ville Syrjälä Suggested-by: Ville Syrjälä Signed-off-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed