Question on S3 on evergreen

Alex Deucher alexdeucher at gmail.com
Thu Oct 13 06:05:51 PDT 2011


On Thu, Oct 13, 2011 at 5:54 AM, Huang, FrankR <FrankR.Huang at amd.com> 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.

Alex


More information about the dri-devel mailing list