All of lore.kernel.org
 help / color / mirror / Atom feed
* Share common logic between eDP and LVDS in panel
@ 2011-04-22  9:19 Chris Wilson
  2011-04-22  9:19 ` [PATCH 01/10] drm/i915/lvds: Rename intel_lvds to intel_lvds_encoder Chris Wilson
                   ` (9 more replies)
  0 siblings, 10 replies; 24+ messages in thread
From: Chris Wilson @ 2011-04-22  9:19 UTC (permalink / raw)
  To: intel-gfx

The eDP panel handling lacked a lot of the finese that we have developed
for LVDS, such as handling lid notifications and cacheing EDIDs. Also we
had a lot of connector specific data stuffed into the global
drm_i915_private which makes for a confusing read.

Let's try to reduce that confusion by sharing the common logic.
-Chris

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [PATCH 00/10] drm/i915: LVDS/eDP panel, EDID and fixed mode refactoring
@ 2012-10-19 11:51 Jani Nikula
  2012-10-19 11:51 ` [PATCH 02/10] drm/i915/lvds: Introduce intel_lvds_connector Jani Nikula
  0 siblings, 1 reply; 24+ messages in thread
From: Jani Nikula @ 2012-10-19 11:51 UTC (permalink / raw)
  To: intel-gfx, daniel; +Cc: jani.nikula

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

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2012-10-19 16:46 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-22  9:19 Share common logic between eDP and LVDS in panel Chris Wilson
2011-04-22  9:19 ` [PATCH 01/10] drm/i915/lvds: Rename intel_lvds to intel_lvds_encoder Chris Wilson
2011-04-22 16:18   ` Jesse Barnes
2011-04-22  9:19 ` [PATCH 02/10] drm/i915/lvds: Introduce intel_lvds_connector Chris Wilson
2011-04-22 16:18   ` Jesse Barnes
2011-04-22 17:50   ` Ben Widawsky
2011-04-22 18:07     ` Chris Wilson
2011-04-22  9:19 ` [PATCH 03/10] drm/i915/lvds: Move the acpi_lid_notifier from drm_i915_private to the connector Chris Wilson
2011-04-22 16:19   ` Jesse Barnes
2011-04-22  9:19 ` [PATCH 04/10] drm/i915/lvds: Move some connector specific info across from the encoder Chris Wilson
2011-04-22 16:20   ` Jesse Barnes
2011-04-22  9:19 ` [PATCH 05/10] drm/i915: Move the ACPI lid notifier away from LVDS to the generic panel Chris Wilson
2011-04-22 16:21   ` Jesse Barnes
2011-04-22  9:19 ` [PATCH 06/10] drm/i915/dp: Enable lid notifier for eDP Chris Wilson
2011-04-22  9:19 ` [PATCH 07/10] drm/i915: Move the fixed_mode away from drm_i915_private and to the panel Chris Wilson
2011-04-22 16:23   ` Jesse Barnes
2011-04-22  9:19 ` [PATCH 08/10] drm/i915/dp: If the panel has a fixed_mode, it can only be eDP Chris Wilson
2011-04-22 16:24   ` Jesse Barnes
2011-04-22  9:19 ` [PATCH 09/10] drm/i015: Share the EDID caching logic and mode query between LVDS and eDP Chris Wilson
2011-04-22 16:26   ` Jesse Barnes
2011-04-22  9:19 ` [PATCH 10/10] drm/i915: Only force a modeset on a lid event if fbcon is active Chris Wilson
2011-04-22 16:27   ` Jesse Barnes
2012-10-19 11:51 [PATCH 00/10] drm/i915: LVDS/eDP panel, EDID and fixed mode refactoring Jani Nikula
2012-10-19 11:51 ` [PATCH 02/10] drm/i915/lvds: Introduce intel_lvds_connector Jani Nikula
2012-10-19 16:47   ` Jesse Barnes

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.