diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-28 11:56:36 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-28 14:17:32 +0300 |
commit | da6ca0347d51d016ab55f58b50e959f830a03bdb (patch) | |
tree | 4e2674b3525713f3361e20209ccaadf7f962b201 /include/linux/io-mapping.h | |
parent | fb4b8ce139c36fe93cf006bd68f0aa0340dd59e8 (diff) | |
download | linux-da6ca0347d51d016ab55f58b50e959f830a03bdb.tar.xz |
drm/i915/overlay: Replace i915_gem_obj_ggtt_offset() with the known flip_addr
When setting up the overlay page, we pin it into the GGTT (when using
virtual addresses) and store the offset as overlay->flip_addr. Rather
than doing a lookup of the GGTT address everytime, we can use the known
address instead.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461833819-3991-2-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'include/linux/io-mapping.h')
0 files changed, 0 insertions, 0 deletions