[Intel-gfx] [PATCH 0/2] 180 Primary plane rotation: calling setplane in set_property

sonika.jindal at intel.com sonika.jindal at intel.com
Tue Aug 19 08:26:41 CEST 2014


From: Sonika Jindal <sonika.jindal at intel.com>

As suggested by Daniel, now calling intel_primary_plane_setplane in
set_property.

Inside setplane, the intel_plane's member variables were not updated in the
structure. The first patch does that updation.

>From kms_rotation_crc igt, drmModeSetCrtc was called to set up crtc for primary
plane. So, intel_plane's members like x, y, w, h will not get updated and when
setplane is called from set_property, the values will be invalid in intel_plane
structure. So, updated the kms_plane_crc igt also to call igt_display_commit2
with COMMIT_UNIVERSAL.
For legacy planes, I am still not sure how will this setplane approach work.
Open for suggestions..

Dropping the r-b tag from the second patch.

Sonika Jindal (2):
  drm/i915: Updating intel_plane members for primary plane in setplane
  drm/i915: Add 180 degree primary plane rotation support

 drivers/gpu/drm/i915/i915_reg.h      |    1 +
 drivers/gpu/drm/i915/intel_display.c |  140 +++++++++++++++++++++++++++++++++-
 drivers/gpu/drm/i915/intel_pm.c      |    6 ++
 3 files changed, 143 insertions(+), 4 deletions(-)

-- 
1.7.10.4




More information about the Intel-gfx mailing list