]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/radeon/kms: check AA resolve registers on r300
authorMarek Olšák <maraeo@gmail.com>
Mon, 14 Feb 2011 00:01:10 +0000 (01:01 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 14 Feb 2011 00:12:14 +0000 (10:12 +1000)
commitfff1ce4dc6113b6fdc4e3a815ca5fd229408f8ef
tree67b3cf58e6b1a23a81bd45b1c98455020f6db248
parent501834349e872ed4115eea3beef65ca9eeb5528e
drm/radeon/kms: check AA resolve registers on r300

This is an important security fix because we allowed arbitrary values
to be passed to AARESOLVE_OFFSET. This also puts the right buffer address
in the register.

Signed-off-by: Marek Olšák <maraeo@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r100_track.h
drivers/gpu/drm/radeon/r300.c
drivers/gpu/drm/radeon/r300_reg.h
drivers/gpu/drm/radeon/reg_srcs/r300
drivers/gpu/drm/radeon/reg_srcs/r420
drivers/gpu/drm/radeon/reg_srcs/rs600
drivers/gpu/drm/radeon/reg_srcs/rv515