radeon,r200: allow hyperz for radeon DRM module v2
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 9 Jul 2015 17:06:14 +0000 (18:06 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Jul 2015 15:35:26 +0000 (16:35 +0100)
commit5284e9e2c4922479b28db96ae88121a053a6e66b
tree80c32bc4e1ad1678c08390813aae96dd8cd335c3
parent48926da0f7a1d1656bfbaf9d5344cc1fa0b6e089
radeon,r200: allow hyperz for radeon DRM module v2

The original code only half considered hyperz as an option. As per
previous commit "major != 2 cannot occur" we can simply things, and
allow users to set the option if they choose to do so.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/drivers/dri/r200/r200_context.c
src/mesa/drivers/dri/radeon/radeon_context.c