All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org, daniel@ffwll.ch
Cc: jani.nikula@intel.com
Subject: [PATCH 00/10] drm/i915: LVDS/eDP panel, EDID and fixed mode refactoring
Date: Fri, 19 Oct 2012 14:51:42 +0300	[thread overview]
Message-ID: <cover.1350644022.git.jani.nikula@intel.com> (raw)

Hi all, this is some LVDS/eDP panel refactoring and cleanup based on
Chris Wilson's earlier work and ideas last year [1]. I left out eDP lid
notifier based on Jesse's comments [2]; more of Jesse's old review is at
[3].

The main high level difference to Chris' patches is that intel_panel and
the cached EDID are placed in intel_connector rather than anywhere
else. This is because Daniel hinted that we might want to do some more
generic EDID caching (indeed, why keep reading the EDID if the display
has not been unplugged?). With the EDID and intel_panel in
intel_connector, we can add functions to query EDID and modes with
transparent caching and fallback to fixed mode when EDID is not
available.


BR,
Jani.


[1] http://cgit.freedesktop.org/~ickle/linux-2.6/log/?h=panel-refactor
[2] http://lists.freedesktop.org/archives/intel-gfx/2011-April/010419.html
[3] http://lists.freedesktop.org/archives/intel-gfx/2011-April/thread.html#10401

Jani Nikula (10):
  drm/i915/lvds: Rename intel_lvds to intel_lvds_encoder
  drm/i915/lvds: Introduce intel_lvds_connector
  drm/i915/lvds: Move the acpi_lid_notifier from drm_i915_private to
    the connector
  drm/i915: Backlight setup requires connector so pass it as parameter
  drm/i915/lvds: Move some connector specific info across from the
    encoder
  drm/i915/dp: Initialize eDP fixed mode in intel_dp_init
  drm/i915: Create generic intel_panel for LVDS and eDP
  drm/i915: Move the fixed mode to intel_panel
  drm/i915: Do not free the passed EDID in
    intel_connector_update_modes()
  drm/i915: Move cached EDID to intel_connector

 drivers/gpu/drm/i915/i915_drv.h    |    4 -
 drivers/gpu/drm/i915/intel_crt.c   |    6 +-
 drivers/gpu/drm/i915/intel_dp.c    |  144 +++++++++++++-----------
 drivers/gpu/drm/i915/intel_drv.h   |   20 +++-
 drivers/gpu/drm/i915/intel_lvds.c  |  211 ++++++++++++++++++++----------------
 drivers/gpu/drm/i915/intel_modes.c |    7 +-
 drivers/gpu/drm/i915/intel_panel.c |   32 ++++--
 7 files changed, 241 insertions(+), 183 deletions(-)

-- 
1.7.9.5

             reply	other threads:[~2012-10-19 11:46 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-19 11:51 Jani Nikula [this message]
2012-10-19 11:51 ` [PATCH 01/10] drm/i915/lvds: Rename intel_lvds to intel_lvds_encoder Jani Nikula
2012-10-19 16:46   ` Jesse Barnes
2012-10-19 11:51 ` [PATCH 02/10] drm/i915/lvds: Introduce intel_lvds_connector Jani Nikula
2012-10-19 16:47   ` Jesse Barnes
2012-10-19 11:51 ` [PATCH 03/10] drm/i915/lvds: Move the acpi_lid_notifier from drm_i915_private to the connector Jani Nikula
2012-10-19 16:48   ` Jesse Barnes
2012-10-19 11:51 ` [PATCH 04/10] drm/i915: Backlight setup requires connector so pass it as parameter Jani Nikula
2012-10-19 16:54   ` Jesse Barnes
2012-10-19 11:51 ` [PATCH 05/10] drm/i915/lvds: Move some connector specific info across from the encoder Jani Nikula
2012-10-19 16:55   ` Jesse Barnes
2012-10-19 11:51 ` [PATCH 06/10] drm/i915/dp: Initialize eDP fixed mode in intel_dp_init Jani Nikula
2012-10-19 17:00   ` Jesse Barnes
2012-10-19 11:51 ` [PATCH 07/10] drm/i915: Create generic intel_panel for LVDS and eDP Jani Nikula
2012-10-19 17:04   ` Jesse Barnes
2012-10-19 11:51 ` [PATCH 08/10] drm/i915: Move the fixed mode to intel_panel Jani Nikula
2012-10-19 17:09   ` Jesse Barnes
2012-10-19 11:51 ` [PATCH 09/10] drm/i915: Do not free the passed EDID in intel_connector_update_modes() Jani Nikula
2012-10-19 17:10   ` Jesse Barnes
2012-10-19 11:51 ` [PATCH 10/10] drm/i915: Move cached EDID to intel_connector Jani Nikula
2012-10-19 17:13   ` Jesse Barnes
2012-10-19 17:58 ` [PATCH 00/10] drm/i915: LVDS/eDP panel, EDID and fixed mode refactoring Chris Wilson
2012-10-22 17:37   ` Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1350644022.git.jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=daniel@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.