Geert Uytterhoeven writes:
> Calling ssd130x_buf_alloc() from ssd130x_encoder_helper_atomic_enable()
> is too late, causing a NULL pointer dereference:
>
> ssd130x_update_rect.isra.0+0x13c/0x340
> ssd130x_primary_plane_helper_atomic_update+0x26c/0x284
> drm_atomic_helper_commit_planes
Calling ssd130x_buf_alloc() from ssd130x_encoder_helper_atomic_enable()
is too late, causing a NULL pointer dereference:
ssd130x_update_rect.isra.0+0x13c/0x340
ssd130x_primary_plane_helper_atomic_update+0x26c/0x284
drm_atomic_helper_commit_planes+0xfc/0x27c
Work around that by checkin