drm/i915: Allocate the proper size for contexts.
authorBen Widawsky <ben@bwidawsk.net>
Sat, 10 Nov 2012 18:56:04 +0000 (10:56 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 11 Nov 2012 22:51:47 +0000 (23:51 +0100)
commitf94982b0022f474d3c9285447d9a33b7a324e771
tree1bd5afc715725c625d694ac2753ede392cd8d836
parent0e8b3d3ea7c8f6e65c2c7220d64cbeb78023eff4
drm/i915: Allocate the proper size for contexts.

Whoops. This was fixed previously, but not sure how it got lost. It's
not needed for -fixes or stable because at the moment
drm_i915_file_private is way bigger than i915_hw_context (by 120 bytes
on my 64b build).

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_context.c