diff options
author | Vivek Kasireddy <vivek.kasireddy@intel.com> | 2015-10-29 18:54:38 -0700 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2015-11-05 14:00:29 +0200 |
commit | 9807216f585fc69a6cad3668414a2936a84444c8 (patch) | |
tree | 0b3fc9abd085a8ba8ec7e558d915030461cda451 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | |
parent | 9be64eee3a87dc03218ca9a12834d1150a57b8a8 (diff) |
drm/i915: Skip fence installation for objects with rotated views (v4)
While pinning a fb object to the display plane, only install a fence
if the object is using a normal view. This corresponds with the
behavior found in i915_gem_object_do_pin() where the fencability
criteria is determined only for objects with normal views.
v2:
Look at the object's map_and_fenceable flag to determine whether to
install a fence or not (Chris).
v3:
Pin and unpin a fence only if the current view type is normal.
v4:
Extend the "view type is normal" check for pin_fence as well.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Ville Syrjala <ville.syrjala@linux.intel.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1446170078-20792-1-git-send-email-vivek.kasireddy@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions