summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorVille Syrjälä2016-02-15 21:54:47 +0100
committerVille Syrjälä2016-03-01 11:48:09 +0100
commit2d7a215f8b917067efc9999d3d733dbab37ada5c (patch)
tree2fce0fbf4b686b73de93ccf81ea0fff2d9fe00d4 /drivers/gpu/drm/i915/intel_drv.h
parentdrm/i915: Move the NULL sg handling out from rotate_pages() (diff)
downloadkernel-qcow2-linux-2d7a215f8b917067efc9999d3d733dbab37ada5c.tar.gz
kernel-qcow2-linux-2d7a215f8b917067efc9999d3d733dbab37ada5c.tar.xz
kernel-qcow2-linux-2d7a215f8b917067efc9999d3d733dbab37ada5c.zip
drm/i915: Embed rotation_info under intel_framebuffer
Instead of repopulatin the rotation_info struct for the fb every time we try to use the fb, we can just populate it once when creating the fb, and later we can just copy the pre-populate struct into the gtt_view. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1455569699-27905-10-git-send-email-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index 8b1d18795876..48f7e844f23a 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -118,6 +118,7 @@ enum intel_output_type {
struct intel_framebuffer {
struct drm_framebuffer base;
struct drm_i915_gem_object *obj;
+ struct intel_rotation_info rot_info;
};
struct intel_fbdev {