Hi Thomas (any anyone else :-)

drm_buffer_object_validate gets passed new and old flags (using 
bo->mem.mask/bo->mem.flags) but when it calls the i915 fence_type function 
it only uses flags to check the fence type, now if this buffer is getting 
validated RW when it wasn't before, it will get the wrong fence type 
back..

I've changed this in my tree to (bo->mem.mask | bo->mem.flags) which or's 
the old and new types together but I wonder should it just be checking the 
mask and not flags at all?

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to