diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-08-22 16:23:13 (GMT) |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-23 12:52:37 (GMT) |
commit | e8016055335687b90e7cd5bbfa30e0c269417f34 (patch) | |
tree | fbad2cafac736d67fb86b00114409fc2b315557e /drivers/uwb/hwa-rc.c | |
parent | 35d8f2eb259e2d32c4bb67e9733ba0cba031f64f (diff) | |
download | linux-fsl-qoriq-e8016055335687b90e7cd5bbfa30e0c269417f34.tar.xz |
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 'drivers/uwb/hwa-rc.c')
0 files changed, 0 insertions, 0 deletions