Re: [PATCH] drm/amd/display: check fb of primary plane

2021-03-17 Thread Alex Deucher
On Wed, Mar 17, 2021 at 10:05 AM Harry Wentland wrote: > > > > On 2021-03-16 5:50 p.m., Sefa Eyeoglu wrote: > > Sometimes the primary plane might not be initialized (yet), which > > causes dm_check_crtc_cursor to divide by zero. > > Apparently a weird state before a S3-suspend causes the aforement

Re: [PATCH] drm/amd/display: check fb of primary plane

2021-03-17 Thread Harry Wentland
On 2021-03-16 5:50 p.m., Sefa Eyeoglu wrote: Sometimes the primary plane might not be initialized (yet), which causes dm_check_crtc_cursor to divide by zero. Apparently a weird state before a S3-suspend causes the aforementioned divide-by-zero error when resuming from S3. This was explained i

Re: [PATCH] drm/amd/display: check fb of primary plane

2021-03-17 Thread Michel Dänzer
On 2021-03-17 9:29 a.m., Simon Ser wrote: > On Tuesday, March 16th, 2021 at 10:50 PM, Sefa Eyeoglu > wrote: > >> Sometimes the primary plane might not be initialized (yet), which >> causes dm_check_crtc_cursor to divide by zero. >> Apparently a weird state before a S3-suspend causes the aforemen

Re: [PATCH] drm/amd/display: check fb of primary plane

2021-03-17 Thread Simon Ser
On Tuesday, March 16th, 2021 at 10:50 PM, Sefa Eyeoglu wrote: > Sometimes the primary plane might not be initialized (yet), which > causes dm_check_crtc_cursor to divide by zero. > Apparently a weird state before a S3-suspend causes the aforementioned > divide-by-zero error when resuming from S3

[PATCH] drm/amd/display: check fb of primary plane

2021-03-16 Thread Sefa Eyeoglu
Sometimes the primary plane might not be initialized (yet), which causes dm_check_crtc_cursor to divide by zero. Apparently a weird state before a S3-suspend causes the aforementioned divide-by-zero error when resuming from S3. This was explained in bug 212293 on Bugzilla. To avoid this divide-by