Re: [Mesa-dev] [PATCH 6/7] i965: Clean up error handling for context creation.

2013-09-27 Thread Eric Anholt
Kenneth Graunke kenn...@whitecape.org writes: On 09/26/2013 08:36 PM, Eric Anholt wrote: The intel_screen.c used to be a dispatch to one of 3 driver functions, but was down to 1, so it was kind of a waste. In addition, it was trying to free all of the data that might have been partially

[Mesa-dev] [PATCH 6/7] i965: Clean up error handling for context creation.

2013-09-26 Thread Eric Anholt
The intel_screen.c used to be a dispatch to one of 3 driver functions, but was down to 1, so it was kind of a waste. In addition, it was trying to free all of the data that might have been partially freed in the kernel 3.6 check (which comes after intelInitContext, and thus might have had

Re: [Mesa-dev] [PATCH 6/7] i965: Clean up error handling for context creation.

2013-09-26 Thread Kenneth Graunke
On 09/26/2013 08:36 PM, Eric Anholt wrote: The intel_screen.c used to be a dispatch to one of 3 driver functions, but was down to 1, so it was kind of a waste. In addition, it was trying to free all of the data that might have been partially freed in the kernel 3.6 check (which comes after