From: Damien Lespiau Date: Sat, 9 Aug 2014 15:29:31 +0000 (+0100) Subject: drm/i915: Fix wrong number of HDMI translation entries X-Git-Tag: omap-for-v3.19/prcm-cleanup~70^2~73^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6699dd3a7f696a80a5f8e5bb6ecf6ff6dd7c998;p=pandora-kernel.git drm/i915: Fix wrong number of HDMI translation entries I keep telling myself that those tables aren't great because their size is the number of dwords we need to program and not the number of entries (number of dwords = number of entries * 2). And... I got it wrong when I refactored the code. Fortunately, it was only wrong when the VBT table (or the code parsing it) is itself erroneous. Long story short, it shouldn't matter, but still, there's a potential array overflow and random programming of the DDI translation tables. Cc: Paulo Zanoni Signed-off-by: Damien Lespiau Reviewed-by: Jani Nikula Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed