]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: allow rendering while no colorbuffer is set on r300
authorMarek Olšák <maraeo@gmail.com>
Thu, 17 Dec 2009 05:02:28 +0000 (06:02 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 23 Dec 2009 01:14:04 +0000 (11:14 +1000)
commit3bd184d83a6202d9eaf32cc084933c9851ac230e
tree92f3439c7b761d199714cb84bf09a937582b0c6e
parenta63a5b6f957d01b4ca6be6298733c7a36bf7230c
drm/radeon/kms: allow rendering while no colorbuffer is set on r300

Because hardware cannot disable all colorbuffers directly to do depth-only
rendering, a user should:
- disable reading from a colorbuffer in blending
- disable fastfill
- set the color channel mask to 0 to prevent writing to a colorbuffer

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