Skip to content

180 Primary plane rotation: calling setplane in set_property

[email protected] dri-devel intel-gfx 1 version Applied

Status from this message: Queued for -next, thanks for the patch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2drm/i915: Updating plane parameters for primary plane in setplanedrivers/gpu/drm/i915/intel_display.c+24 -02 replies
1/2drm/i915: Updating plane parameters for primary plane in setplanedrivers/gpu/drm/i915/intel_display.c+31 -71 reply
2/2drm/i915: Add 180 degree primary plane rotation supportdrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_pm.c+119 -42 replies
2/2drm/i915: Add 180 degree primary plane rotation supportdrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h +2 more+94 -69 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] 180 Primary plane rotation: calling setplane in set_property

From: Sonika Jindal <[email protected]>

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.

Quoted 1 line

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(-)
Signature · 1 line
1.7.10.4