Merge tag 'drm-for-v4.8' of git://people.freedesktop.org/~airlied/linux
[deliverable/linux.git] / drivers / gpu / drm / etnaviv / etnaviv_gem.c
index 56fb8637bb57ece37a880d7f8bb04231d0c67a0c..5ce3603e6eacb1aab7c59ed66399f743d5346990 100644 (file)
@@ -659,7 +659,7 @@ static struct drm_gem_object *__etnaviv_gem_new(struct drm_device *dev,
                 * why this is required _and_ expected if you're
                 * going to pin these pages.
                 */
-               mapping = file_inode(obj->filp)->i_mapping;
+               mapping = obj->filp->f_mapping;
                mapping_set_gfp_mask(mapping, GFP_HIGHUSER);
        }
 
This page took 0.024958 seconds and 5 git commands to generate.