diff options
author | Imre Deak <imre.deak@intel.com> | 2015-07-08 19:18:59 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-07-13 22:42:41 +0200 |
commit | 5ec5b51639ec81031b655eaacf95d4f36b75e9b4 (patch) | |
tree | 4dc6926190de602664aa66c176d05eb467e1104b /drivers/gpu/drm/i915/i915_gem_stolen.c | |
parent | 101057fa40c17e8ecd0cdcf74664235de3b69c34 (diff) | |
download | op-kernel-dev-5ec5b51639ec81031b655eaacf95d4f36b75e9b4.zip op-kernel-dev-5ec5b51639ec81031b655eaacf95d4f36b75e9b4.tar.gz |
drm/i915: remove unused has_dma_mapping flag
After the previous patch this flag will check always clear, as it's
never set for shmem backed and userptr objects, so we can remove it.
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
[danvet: Yeah this isn't really fixes but it's a nice cleanup to
clarify the code but not really worth the hassle of backmerging. So
just add to -fixes, we're still early in -rc.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_stolen.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_stolen.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c b/drivers/gpu/drm/i915/i915_gem_stolen.c index 348ed5a..8b5b784 100644 --- a/drivers/gpu/drm/i915/i915_gem_stolen.c +++ b/drivers/gpu/drm/i915/i915_gem_stolen.c @@ -416,7 +416,6 @@ _i915_gem_object_create_stolen(struct drm_device *dev, if (obj->pages == NULL) goto cleanup; - obj->has_dma_mapping = true; i915_gem_object_pin_pages(obj); obj->stolen = stolen; |