Re: [PATCH] drm/amd/display: Add NULL checks for vblank workqueue

2021-09-13 Thread Alex Deucher
On Tue, Sep 7, 2021 at 9:42 PM Mike Lothian wrote: > > Hi > > I've just tested this out against Linus's tree and it seems to fix things > > Out of interest does Tonga have GPU reset when things go wrong? Yes, it does. Alex > > Thanks > > Mike > > On Tue, 7 Sept 2021 at 15:20, Harry Wentland

Re: [PATCH] drm/amd/display: Add NULL checks for vblank workqueue

2021-09-09 Thread Harry Wentland
On 2021-09-07 9:41 p.m., Mike Lothian wrote: > Hi > > I've just tested this out against Linus's tree and it seems to fix things > Thanks. > Out of interest does Tonga have GPU reset when things go wrong? > Not sure. Alex might know. Harry > Thanks > > Mike > > On Tue, 7 Sept 2021 at

Re: [PATCH] drm/amd/display: Add NULL checks for vblank workqueue

2021-09-07 Thread Mike Lothian
Hi I've just tested this out against Linus's tree and it seems to fix things Out of interest does Tonga have GPU reset when things go wrong? Thanks Mike On Tue, 7 Sept 2021 at 15:20, Harry Wentland wrote: > > > > On 2021-09-07 10:10 a.m., Nicholas Kazlauskas wrote: > > [Why] > > If we're

Re: [PATCH] drm/amd/display: Add NULL checks for vblank workqueue

2021-09-07 Thread Harry Wentland
On 2021-09-07 10:10 a.m., Nicholas Kazlauskas wrote: > [Why] > If we're running a headless config with 0 links then the vblank > workqueue will be NULL - causing a NULL pointer exception during > any commit. > > [How] > Guard access to the workqueue if it's NULL and don't queue or flush > work

[PATCH] drm/amd/display: Add NULL checks for vblank workqueue

2021-09-07 Thread Nicholas Kazlauskas
[Why] If we're running a headless config with 0 links then the vblank workqueue will be NULL - causing a NULL pointer exception during any commit. [How] Guard access to the workqueue if it's NULL and don't queue or flush work if it is. Cc: Roman Li Cc: Wayne Lin Cc: Harry Wentland