> -----Original Message----- > From: dri-devel-bounces+frankr.huang=amd.com@xxxxxxxxxxxxxxxxxxxxx > [mailto:dri-devel-bounces+frankr.huang=amd.com@xxxxxxxxxxxxxxxxxxxxx] On > Behalf Of Alex Deucher > Sent: 2011?10?13? 21:06 > To: Huang, FrankR > Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx > Subject: Re: Question on S3 on evergreen > > On Thu, Oct 13, 2011 at 5:54 AM, Huang, FrankR <FrankR.Huang@xxxxxxx> > wrote: > > Hi, > > I have a question on S3 suspend/resume process for evergreen > > chipset. > > Generally introduction, I am developing WEC7 graphics driver on > > evergreen chipset. Alex guide me on this. And right now I move to S3 > > part work. I have ported radeon_suspend_kms() and radeon_resume_kms() > > functions from linux to CE. Actually I have validated that the > > evergreen_suspend() and evergreen_resume() work already on CE. But when > > the resume work is done and the screen is shown up, I found the 3D > > engine works wrong. The HW acceleration of it is not correct anymore. > > Misrendering is happening. By tracing the root cause, I suspect that the > > problem may be in evergreen_gpu_init()( in evergreen_startup) call when > > resume(), but I am not sure. Can you guys tell me which part I should > > debug? > > By the way, the linux kernel source I used is from 2010.10. So > > quite a lot patches have been committed into community during this > > period. Right now, the kernel source I used is around date > > 2011.7(Version 3.0.0). Is there any patches update for S3 during this > > period? > > > > Does soft resetting the GPU during resume help > (evergreen_gpu_soft_reset()) ? If so, try updating your version of > evergreen_cp_resume() to the latest upstream bits. I have checked the code, evergreen_cp_resume() is already latest. How about evergreen_gpu_init()? I found this function call when resume will cause this misrendering. But I can not navigate the root cause. Thanks, Frank > > Alex > _______________________________________________ > dri-devel mailing list > dri-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/dri-devel _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel