summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-08-22 19:23:13 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-23 14:52:37 +0200
commite8016055335687b90e7cd5bbfa30e0c269417f34 (patch)
treefbad2cafac736d67fb86b00114409fc2b315557e /scripts
parent35d8f2eb259e2d32c4bb67e9733ba0cba031f64f (diff)
drm/i915: Fix context size calculation on SNB/IVB/VLV
All the different context sizes reported in the CXT_SIZE register aren't meant to be simply added together. While BSpec is somewhat unclear on the topic of the actual context size, empirical tests have now revealed the truth. So let's add a big fat comment to remind people how it all works. As a result of correctly interpreting CXT_SIZE, the IVB context size is reduced from three pages to two, while SNB context size remains at two pages. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Acked-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions