Re: [PATCH] drm/amd/display: add missing NULL check for DML2

2023-10-10 Thread Alex Deucher
On Tue, Oct 10, 2023 at 2:07 AM Bob Zhou wrote: > > Recently, the driver introduce DML2 for future ASIC support. > But, some ASIC's hubbub pointer is null before calling. > It cause the below null pointer issue, so add null check to fix it. > > BUG: kernel NULL pointer dereference, address:

[PATCH] drm/amd/display: add missing NULL check for DML2

2023-10-09 Thread Bob Zhou
Recently, the driver introduce DML2 for future ASIC support. But, some ASIC's hubbub pointer is null before calling. It cause the below null pointer issue, so add null check to fix it. BUG: kernel NULL pointer dereference, address: RIP: 0010:dc_create_resource_pool+0xc1/0x2c0