From mboxrd@z Thu Jan 1 00:00:00 1970 From: akash.goel@intel.com Subject: [PATCH 0/6] New drm crtc property for varying the Crtc size Date: Wed, 27 Aug 2014 12:50:11 +0530 Message-ID: <1409124017-29829-1-git-send-email-akash.goel@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id B82286E311 for ; Wed, 27 Aug 2014 00:15:54 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org Cc: shobhit.kumar@intel.com, Akash Goel List-Id: intel-gfx@lists.freedesktop.org From: Akash Goel 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(-) -- 1.9.2