Skip to contentSkip to conversation

New drm crtc property for varying the Crtc size

PATCH New [email protected] 1 participant 1 message Aug 27, 2014

lore
Share & tools
lore
#0 lore raw

cover New drm crtc property for varying the Crtc size

From: Akash Goel <[email protected]>

Added a new drm crtc property which provides control
to vary the Pipe Src or Crtc size.
With this, User can flip the frame buffers of resolution, which is different from the currently selected mode. For this Driver will appropriately enable the Panel fitter internally, for the required scaling.
For this also removed the check of change in frame buffer pitch, from the crtc page flip function.
Added a return type to panel fitter config & crtc retsore mode functions, so that an error could be returned to User space for an invalid configuration.
Also added Max downscale ratio checks when enbaling Panel fitter.

Akash Goel (6):
drm/i915: Added a return type for panel fitter config functions drm/i915: Added a return type for the restore crtc mode function drm/i915: Added Max down-scale ratio checks when enabling Panel fitter drm/i915: Added support to allow change in FB pitch across flips Documentation/drm: Describing crtc size property
drm/i915: New drm crtc property for varying the Crtc size

 Documentation/DocBook/drm.tmpl       |  13 +++-
 drivers/gpu/drm/drm_crtc.c           |   7 ++
 drivers/gpu/drm/drm_fb_helper.c      |   7 ++
 drivers/gpu/drm/i915/intel_display.c | 128 +++++++++++++++++++++++++++++++++--
 drivers/gpu/drm/i915/intel_dp.c      |  45 +++++++++---
 drivers/gpu/drm/i915/intel_drv.h     |  11 ++-
 drivers/gpu/drm/i915/intel_hdmi.c    |  28 ++++++--
 drivers/gpu/drm/i915/intel_lvds.c    |  18 +++--
 drivers/gpu/drm/i915/intel_panel.c   | 123 ++++++++++++++++++++++++++-------
 drivers/gpu/drm/i915/intel_sdvo.c    |  57 ++++++++++++++--
 drivers/gpu/drm/i915/intel_sprite.c  |   4 +-
 drivers/gpu/drm/i915/intel_tv.c      |  26 ++++++-
 include/drm/drm_crtc.h               |   7 ++
 13 files changed, 410 insertions(+), 64 deletions(-)
Signature · 1 line
1.9.2