summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-08-09 16:29:31 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-08-11 11:29:29 +0200
commitd6699dd3a7f696a80a5f8e5bb6ecf6ff6dd7c998 (patch)
treecc6ff146510f0738b801e8e41e5c59b91fe342ed /tools/perf/scripts/python
parent3bb11b536c1037143765b4efc8056600438df7f6 (diff)
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 <paulo.r.zanoni@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions