kernel: bump 4.14 to 4.14.258
[openwrt/staging/ynezz.git] / target / linux / brcm2708 / patches-4.14 / 950-0174-drm-vc4-Add-the-DRM_IOCTL_VC4_GEM_MADVISE-ioctl.patch
index 0e410c484c4e7ba65994b284ba6c57871d553265..8326d4bcada4d74f8a23b59cd809266cababaadb 100644 (file)
@@ -181,7 +181,7 @@ Link: https://patchwork.freedesktop.org/patch/msgid/20171019125748.3152-1-boris.
                                            enum vc4_kernel_bo_type type)
 @@ -294,6 +419,9 @@ struct drm_gem_object *vc4_create_object
        if (!bo)
-               return ERR_PTR(-ENOMEM);
+               return NULL;
  
 +      bo->madv = VC4_MADV_WILLNEED;
 +      refcount_set(&bo->usecnt, 0);