Re: [PATCH] drm: Consider drivers setting DRIVER_ATOMIC as atomic.

2018-06-22 Thread Daniel Vetter
On Thu, Jun 21, 2018 at 12:54:28PM -0700, Eric Anholt wrote: > Drivers such as vc4 don't initialize mode_config.funcs until later in > initialization, but we know they're atomic since they've got the flag > set. This avoids oopsing on dereferencing funcs in the new atomic > methods sanity checks.

[PATCH] drm: Consider drivers setting DRIVER_ATOMIC as atomic.

2018-06-21 Thread Eric Anholt
Drivers such as vc4 don't initialize mode_config.funcs until later in initialization, but we know they're atomic since they've got the flag set. This avoids oopsing on dereferencing funcs in the new atomic methods sanity checks. I moved the atomic check function down below the core flag check, to