i965: Don't enable reset notification support on Gen4-5.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 12 Mar 2014 08:43:40 +0000 (01:43 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 1 May 2014 06:08:22 +0000 (23:08 -0700)
commit0380ec467d78f40b5c8134158ca48b4c5378b282
tree5cc79c64013daf98f77033db61cba72b3b674013
parent4546b70e089c23ac1034673262f6d5e20e21caf0
i965: Don't enable reset notification support on Gen4-5.

arekm reported that using Chrome with GPU acceleration enabled on GM45
triggered the hw_ctx != NULL assertion in brw_get_graphics_reset_status.

We definitely do not want to advertise reset notification support on
Gen4-5 systems, since it needs hardware contexts, and we never even
request a hardware context on those systems.

Cc: "10.1" <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75723
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_screen.c