Loading drivers/gpu/drm/msm/msm_gem.c +9 −4 Original line number Diff line number Diff line Loading @@ -1218,10 +1218,15 @@ struct drm_gem_object *msm_gem_import(struct drm_device *dev, msm_obj->sgt = sgt; msm_obj->pages = NULL; /* * If sg table is NULL, user should call msm_gem_delayed_import to add * back the sg table to the drm gem object * 1) If sg table is NULL, user should call msm_gem_delayed_import * to add back the sg table to the drm gem object. * * 2) Add buffer flag unconditionally for all import cases. * # Cached buffer will be attached immediately hence sgt will * be available upon gem obj creation. * # Un-cached buffer will follow delayed attach hence sgt * will be NULL upon gem obj creation. */ if (!sgt) msm_obj->flags |= MSM_BO_EXTBUF; /* Loading Loading
drivers/gpu/drm/msm/msm_gem.c +9 −4 Original line number Diff line number Diff line Loading @@ -1218,10 +1218,15 @@ struct drm_gem_object *msm_gem_import(struct drm_device *dev, msm_obj->sgt = sgt; msm_obj->pages = NULL; /* * If sg table is NULL, user should call msm_gem_delayed_import to add * back the sg table to the drm gem object * 1) If sg table is NULL, user should call msm_gem_delayed_import * to add back the sg table to the drm gem object. * * 2) Add buffer flag unconditionally for all import cases. * # Cached buffer will be attached immediately hence sgt will * be available upon gem obj creation. * # Un-cached buffer will follow delayed attach hence sgt * will be NULL upon gem obj creation. */ if (!sgt) msm_obj->flags |= MSM_BO_EXTBUF; /* Loading