]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i915: Fix GR register array size off-by-one bug
authorJesse Barnes <jesse.barnes@intel.com>
Thu, 7 Feb 2008 19:15:20 +0000 (11:15 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 19:35:13 +0000 (11:35 -0800)
commit123f794fa7d592644881a20801638d88521d0b06
tree9782b0bde7ffc24a3719b208dbb703e480360c5e
parent0afc2edfada50980bec999f94dcea26ebad3dda6
i915: Fix GR register array size off-by-one bug

Make sure we have enough room for all the GR registers or we'll end up
clobbering the AR index register (which should actually be harmless
unless the BIOS is making an assumption about it).

Noticed-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Jesse Barnes <jesse.barnes@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/drm/i915_drv.h