mode management changes between local and external display.
authorSanjay Rama Reddy <sanjay.rama.reddy@intel.com>
Mon, 30 Jan 2012 22:17:19 +0000 (00:17 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:29:39 +0000 (12:29 +0300)
commitea560fd54487e83605c6f65dd4beba9b0d2b3261
treed2558047866d5b95abe23d99fe0d1fdcf639b172
parent6d11c96f5f3d5803dfcc873fbacd4bd242fb7d1d
mode management changes between local and external display.

- Defining our policy of setting the FB and surface dimensions
  of frame buffer equal to local display dimensions and choosing
  panel fitting for external display when needed. This is required since
  Medfield hardware supports panel fitting only for HDMI pipe.
- Also, remove the modes selection limitations at drm during hdmi hotplug.
  During drm_fb_helper_hotplug_event, the max_width and max_height are
  reseted to the size of available framebuffer (which is equal to local
  display), and thus removes all the hdmi modes that are greater than this
  limit thus not allowing modes like 1080P to get selected for HDMI.
  Hence changed the reset logic.

Signed-off-by: Arun Kannan <arun.kannan@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/gpu/drm/drm_fb_helper.c
drivers/staging/mrst/drv/psb_fb.c