BackMerge v4.19-rc5 into drm-next
Sean Paul requested an -rc5 backmerge from some sun4i fixes. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -674,7 +674,7 @@ static inline bool drm_core_check_feature(struct drm_device *dev, u32 feature)
|
||||
static inline bool drm_drv_uses_atomic_modeset(struct drm_device *dev)
|
||||
{
|
||||
return drm_core_check_feature(dev, DRIVER_ATOMIC) ||
|
||||
dev->mode_config.funcs->atomic_commit != NULL;
|
||||
(dev->mode_config.funcs && dev->mode_config.funcs->atomic_commit != NULL);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user