Created attachment 73742 [details]
When i looked up register 0x00008040 i saw that it was defined as WAIT_UNTIL.
The function that prints that error is 'evergreen_cs_check_reg' in evergreen_cs.c. Since the WAIT_UNTIL is not present in reg_srcs/cayman (i have a radeon 6950) the cayman_reg_safe_bm test fail and since WAIT_UNTIL is not present in any of the switch cases it hits the default case.
But WAIT_UNTIL was present in reg_srcs/evergreen, so i copied the WAIT_UNTIL line from evergreen to cayman. I also copied the rest of the WAIT_UNTIL_POLL* because they seemed related.
This fixed the issue for me but i do not know if this is the proper fix.
Tested on kernel 3.8.0-rc5 and wayland/weston master and mesa master.
Created attachment 73743 [details]
Created attachment 73744 [details]
This is actually a mesa bug caused by:
Created attachment 73753 [details] [review]
The attached mesa patch should fix the issue.
Your patch fixes the issue, thanks.