linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] OMAP DSS for v3.5
@ 2012-05-22 10:09 Tomi Valkeinen
  2012-05-29 15:05 ` Florian Tobias Schandinat
  2012-06-05 12:17 ` Jean Pihet
  0 siblings, 2 replies; 5+ messages in thread
From: Tomi Valkeinen @ 2012-05-22 10:09 UTC (permalink / raw)
  To: Florian Tobias Schandinat; +Cc: linux-omap, linux-fbdev, Tony Lindgren

[-- Attachment #1: Type: text/plain, Size: 11032 bytes --]

Hi Florian,

Here are the OMAP DSS changes for 3.5.

I really tried this time to send the pull request early, but here I am
again, sending it when the merge window has already opened... A few
late-found bugs caused some unnecessary delays.

I'm using github this time instead of gitorious, as gitorious seems to
be down. This is my first pull request with a signed tag, I hope
everything is correct.

Note that there's a merge for small branch with omap board file changes
(e4a9e94cc58ed6e4efb02b80be3a9bf57f448d07) that is also pulled by Tony
for the linux-omap tree. This is meant to help avoid conflicts in the
board files.

 Tomi


The following changes since commit 66f75a5d028beaf67c931435fdc3e7823125730c:

  Linux 3.4-rc4 (2012-04-21 14:47:52 -0700)

are available in the git repository at:

  git://github.com/tomba/linux.git tags/omapdss-for-3.5

for you to fetch changes up to e92a5b28f71aea01b281f9c89d97a4bc5b24748f:

  OMAPDSS: HDMI: OMAP4: Update IRQ flags for the HPD IRQ request (2012-05-22 11:00:09 +0300)

----------------------------------------------------------------
Omapdss driver changes for 3.5 merge window.

Lots of normal development commits, but perhaps most notable changes are:

* HDMI rework to properly decouple the HDMI audio part from the HDMI video part.
* Restructure omapdss core driver so that it's possible to implement device
  tree support. This included changing how platform data is passed to the
  drivers, changing display device registration and improving the panel driver's
  ability to configure the underlying video output interface.
* Basic support for DSI packet interleaving

----------------------------------------------------------------
Archit Taneja (19):
      OMAPDSS: DISPC/RFBI: Use dispc_mgr_set_lcd_timings() for setting lcd size
      OMAPDSS: DISPC: Use a common function to set manager timings
      OMAPDSS: DISPC: Clean up manager timing/size functions
      OMAPDSS: HDMI: Fix ti_hdmi_4xxx_core_dump
      OMAPDSS: HDMI: define and dump CORE registers in correct order
      OMAPDSS: Fix DSI_FCLK clock source selection
      OMAPDSS: DISPC: Remove Fake VSYNC support
      OMAPDSS: APPLY: Add manager timings as extra_info in private data
      OMAPDSS: Apply manager timings instead of direct DISPC writes
      OMAPDSS: MANAGER: Create a function to check manager timings
      OMAPDSS: APPLY: Don't check manager settings if it is disabled
      OMAPDSS: APPLY: Remove display dependency from overlay and manager checks
      OMAPDSS: DPI/HDMI: Apply manager timings even if panel is disabled
      OMAPDSS: APPLY: Remove an unnecessary omap_dss_device pointer
      OMAPDSS: DISPC: Remove omap_dss_device pointer usage from dispc_mgr_pclk_rate()
      OMAPDSS: DISPC: Remove usage of dispc_mgr_get_device()
      OMAPDSS: DSI: Support command mode interleaving during video mode blanking periods
      OMAPDSS: VENC/DISPC: Delay dividing Y resolution for managers connected to VENC
      OMAPDSS: Apply VENC timings even if panel is disabled

Axel Castaneda Gonzalez (1):
      OMAPDSS: HDMI: Decouple wrapper enable/disable and audio start/stop

Chandrabhanu Mahapatra (5):
      OMAPDSS: DISPC: Enable predecimation
      OMAPDSS: DISPC: Handle synclost errors in OMAP3
      OMAPDSS: DISPC: Correct DISPC functional clock usage
      OMAPDSS: DISPC: Update Accumulator configuration for chroma plane
      OMAPDSS: DISPC: Support rotation through TILER

Grazvydas Ignotas (5):
      OMAPDSS: OMAPFB: check for matching memory size early
      OMAPDSS: provide default get_timings function for panels
      OMAPDSS: TPO-TD03MTEA1: add set/check timing functions
      OMAPDSS: VENC: allow switching venc output type at runtime
      OMAPDSS: OMAPFB: always allow to configure overlay

Jan Weitzel (1):
      ARM: OMAP2+ Add Primview displays to panel-generic

Mark Brown (4):
      OMAP: DSS2: Remove suspicous and unused TAAL regulator API usage
      OMAPDSS: VENC: Check for errors from regulator_enable()
      OMAPDSS: TPO-TD03MTEA1: Check for errors from regulator_enable()
      OMAPDSS: TPO-TD03MTEA1: Correct comment for power on delay

Peter Meerwald (1):
      OMAPFB: remove unused FB_OMAP_BOOTLOADER_INIT config option

Ricardo Neri (15):
      OMAPDSS: Provide an interface for audio support
      OMAPDSS: HDMI: Split audio_enable into audio_enable/disable
      OMAPDSS: HDMI: Split video_enable into video_enable/disable
      OMAPDSS: HDMI: Remove ASoC codec
      OMAPDSS: HDMI: OMAP4: Remove CEA-861 audio infoframe and IEC-60958 enums
      OMAPDSS: HDMI: OMAP4: Remove invalid I2S settings
      OMAPDSS: HDMI: Decouple HDMI audio from ASoC
      OMAPDSS: HDMI: OMAP4: Expand configuration for IEC-60958 audio
      OMAPDSS: HDMI: Relocate N/CTS calculation
      OMAPDSS: HDMI: Add support for more audio sample rates in N/CTS calculation
      OMAPDSS: HDMI: Add an audio configuration function
      OMAPDSS: HDMI: OMAP4: Remap speaker order to match ALSA order
      OMAPDSS: HDMI: Panel: Simplify the name of the HDMI mutex
      OMAPDSS: HDMI: Implement DSS driver interface for audio
      OMAPDSS: HDMI: OMAP4: Update IRQ flags for the HPD IRQ request

Russ Dill (1):
      OMAPDSS: TFP410: use gpio_set_value_cansleep

Thomas Weber (2):
      OMAPDSS: Add Mitsubishi AA084SB01 display support
      OMAPDSS: Add EDT ET0500G0DH6 display support

Tomi Valkeinen (38):
      OMAPDSS: add set_min_bus_tput pointer to omapdss's platform data
      OMAPDSS: Ensure OPP100 when DSS is operational
      OMAPDSS: DSI: remove option to use pck for DSI PLL clkin
      OMAPDSS: panel-dvi: add PD gpio handling
      OMAP: board-files: remove custom PD GPIO handling for DVI output
      OMAPDSS: TFP410: rename dvi -> tfp410
      OMAPDSS: TFP410: rename dvi files to tfp410
      OMAPDSS: Taal: move reset gpio handling to taal driver
      OMAPDSS: DSI: implement generic DSI pin config
      Merge branch 'archit/set-timing-work'
      Merge branch 'for-l-o-3.5'
      OMAPFB: fix parsing of vram parameter
      OMAPDSS: TFP410: pdata rewrite
      OMAPDSS: DSI: use dsi_get_dsidev_id(dsidev) instead of dsidev->id
      OMAPDSS: clean up the omapdss platform data mess
      OMAPDSS: remove return from platform_driver_unreg
      OMAPDSS: use platform_driver_probe for core/dispc/dss
      OMAPDSS: create custom pdevs for DSS omap_devices
      OMAPDSS: create DPI & SDI devices
      OMAPDSS: create DPI & SDI drivers
      OMAPDSS: remove uses of dss_runtime_get/put
      OMAPDSS: handle output-driver reg/unreg more dynamically
      OMAPDSS: move the creation of debugfs files
      OMAPDSS: use platform_driver_probe for dsi/hdmi/rfbi/venc/dpi/sdi
      OMAPDSS: add __init & __exit
      OMAPFB: add __init & __exit
      OMAPDSS: change default_device handling
      OMAPDSS: interface drivers register their panel devices
      OMAPDSS: init omap_dss_devices internally
      OMAPDSS: DSI: improve DSI module id handling
      OMAPDSS: separate pdata based initialization
      Merge branch 'dss-devtree-cleanup'
      Merge branch 'omapdss-hdmi-audio'
      OMAPDSS: use DSI_FIFO_BUG workaround only for manual update displays
      OMAPDSS: DISPC: fix usage of dispc_ovl_set_accu_uv
      OMAPDSS: remove compiler warnings when CONFIG_BUG=n
      OMAPFB: remove compiler warnings when CONFIG_BUG=n
      OMAPDSS: VRFB: remove compiler warnings when CONFIG_BUG=n

 Documentation/arm/OMAP/DSS                         |   46 ++
 arch/arm/mach-omap2/board-3430sdp.c                |   38 +-
 arch/arm/mach-omap2/board-4430sdp.c                |   37 +-
 arch/arm/mach-omap2/board-am3517evm.c              |   25 +-
 arch/arm/mach-omap2/board-cm-t35.c                 |   30 +-
 arch/arm/mach-omap2/board-devkit8000.c             |   30 +-
 arch/arm/mach-omap2/board-igep0020.c               |   32 +-
 arch/arm/mach-omap2/board-omap3beagle.c            |   37 +-
 arch/arm/mach-omap2/board-omap3evm.c               |   29 +-
 arch/arm/mach-omap2/board-omap3stalker.c           |   29 +-
 arch/arm/mach-omap2/board-omap4panda.c             |   39 +-
 arch/arm/mach-omap2/board-overo.c                  |   25 +-
 arch/arm/mach-omap2/display.c                      |  196 ++++-
 drivers/video/omap/Kconfig                         |    8 -
 drivers/video/omap2/displays/Kconfig               |    8 +-
 drivers/video/omap2/displays/Makefile              |    2 +-
 drivers/video/omap2/displays/panel-acx565akm.c     |    7 -
 drivers/video/omap2/displays/panel-generic-dpi.c   |  107 ++-
 drivers/video/omap2/displays/panel-n8x0.c          |    8 -
 drivers/video/omap2/displays/panel-taal.c          |  108 +--
 .../omap2/displays/{panel-dvi.c => panel-tfp410.c} |  186 ++---
 .../video/omap2/displays/panel-tpo-td043mtea1.c    |   22 +-
 drivers/video/omap2/dss/Kconfig                    |   13 +-
 drivers/video/omap2/dss/apply.c                    |  134 +++-
 drivers/video/omap2/dss/core.c                     |  255 ++++---
 drivers/video/omap2/dss/dispc.c                    |  747 ++++++++++++++------
 drivers/video/omap2/dss/dispc.h                    |   72 ++
 drivers/video/omap2/dss/display.c                  |   49 +-
 drivers/video/omap2/dss/dpi.c                      |   75 +-
 drivers/video/omap2/dss/dsi.c                      |  537 ++++++++------
 drivers/video/omap2/dss/dss.c                      |   65 +-
 drivers/video/omap2/dss/dss.h                      |  151 ++--
 drivers/video/omap2/dss/dss_features.c             |   30 +-
 drivers/video/omap2/dss/dss_features.h             |    5 +
 drivers/video/omap2/dss/hdmi.c                     |  443 +++++-------
 drivers/video/omap2/dss/hdmi_panel.c               |  236 ++++++-
 drivers/video/omap2/dss/manager.c                  |   19 +-
 drivers/video/omap2/dss/overlay.c                  |   16 +-
 drivers/video/omap2/dss/rfbi.c                     |   84 ++-
 drivers/video/omap2/dss/sdi.c                      |   63 +-
 drivers/video/omap2/dss/ti_hdmi.h                  |   32 +-
 drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c          |  480 ++++++++-----
 drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h          |  161 +----
 drivers/video/omap2/dss/venc.c                     |  133 +++-
 drivers/video/omap2/omapfb/omapfb-ioctl.c          |   17 +-
 drivers/video/omap2/omapfb/omapfb-main.c           |   12 +-
 drivers/video/omap2/omapfb/omapfb.h                |    1 +
 drivers/video/omap2/vrfb.c                         |    4 +-
 include/video/omap-panel-nokia-dsi.h               |    3 +
 .../{omap-panel-dvi.h => omap-panel-tfp410.h}      |   18 +-
 include/video/omapdss.h                            |   75 +-
 51 files changed, 2983 insertions(+), 1996 deletions(-)
 rename drivers/video/omap2/displays/{panel-dvi.c => panel-tfp410.c} (56%)
 rename include/video/{omap-panel-dvi.h => omap-panel-tfp410.h} (63%)


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [GIT PULL] OMAP DSS for v3.5
  2012-05-22 10:09 [GIT PULL] OMAP DSS for v3.5 Tomi Valkeinen
@ 2012-05-29 15:05 ` Florian Tobias Schandinat
  2012-06-05 12:17 ` Jean Pihet
  1 sibling, 0 replies; 5+ messages in thread
From: Florian Tobias Schandinat @ 2012-05-29 15:05 UTC (permalink / raw)
  To: Tomi Valkeinen; +Cc: linux-omap, linux-fbdev, Tony Lindgren

On 05/22/2012 10:09 AM, Tomi Valkeinen wrote:
> Hi Florian,
> 
> Here are the OMAP DSS changes for 3.5.

Merged.


Thanks,

Florian Tobias Schandinat

> 
> I really tried this time to send the pull request early, but here I am
> again, sending it when the merge window has already opened... A few
> late-found bugs caused some unnecessary delays.
> 
> I'm using github this time instead of gitorious, as gitorious seems to
> be down. This is my first pull request with a signed tag, I hope
> everything is correct.
> 
> Note that there's a merge for small branch with omap board file changes
> (e4a9e94cc58ed6e4efb02b80be3a9bf57f448d07) that is also pulled by Tony
> for the linux-omap tree. This is meant to help avoid conflicts in the
> board files.
> 
>  Tomi
> 
> 
> The following changes since commit 66f75a5d028beaf67c931435fdc3e7823125730c:
> 
>   Linux 3.4-rc4 (2012-04-21 14:47:52 -0700)
> 
> are available in the git repository at:
> 
>   git://github.com/tomba/linux.git tags/omapdss-for-3.5
> 
> for you to fetch changes up to e92a5b28f71aea01b281f9c89d97a4bc5b24748f:
> 
>   OMAPDSS: HDMI: OMAP4: Update IRQ flags for the HPD IRQ request (2012-05-22 11:00:09 +0300)
> 
> ----------------------------------------------------------------
> Omapdss driver changes for 3.5 merge window.
> 
> Lots of normal development commits, but perhaps most notable changes are:
> 
> * HDMI rework to properly decouple the HDMI audio part from the HDMI video part.
> * Restructure omapdss core driver so that it's possible to implement device
>   tree support. This included changing how platform data is passed to the
>   drivers, changing display device registration and improving the panel driver's
>   ability to configure the underlying video output interface.
> * Basic support for DSI packet interleaving
> 
> ----------------------------------------------------------------
> Archit Taneja (19):
>       OMAPDSS: DISPC/RFBI: Use dispc_mgr_set_lcd_timings() for setting lcd size
>       OMAPDSS: DISPC: Use a common function to set manager timings
>       OMAPDSS: DISPC: Clean up manager timing/size functions
>       OMAPDSS: HDMI: Fix ti_hdmi_4xxx_core_dump
>       OMAPDSS: HDMI: define and dump CORE registers in correct order
>       OMAPDSS: Fix DSI_FCLK clock source selection
>       OMAPDSS: DISPC: Remove Fake VSYNC support
>       OMAPDSS: APPLY: Add manager timings as extra_info in private data
>       OMAPDSS: Apply manager timings instead of direct DISPC writes
>       OMAPDSS: MANAGER: Create a function to check manager timings
>       OMAPDSS: APPLY: Don't check manager settings if it is disabled
>       OMAPDSS: APPLY: Remove display dependency from overlay and manager checks
>       OMAPDSS: DPI/HDMI: Apply manager timings even if panel is disabled
>       OMAPDSS: APPLY: Remove an unnecessary omap_dss_device pointer
>       OMAPDSS: DISPC: Remove omap_dss_device pointer usage from dispc_mgr_pclk_rate()
>       OMAPDSS: DISPC: Remove usage of dispc_mgr_get_device()
>       OMAPDSS: DSI: Support command mode interleaving during video mode blanking periods
>       OMAPDSS: VENC/DISPC: Delay dividing Y resolution for managers connected to VENC
>       OMAPDSS: Apply VENC timings even if panel is disabled
> 
> Axel Castaneda Gonzalez (1):
>       OMAPDSS: HDMI: Decouple wrapper enable/disable and audio start/stop
> 
> Chandrabhanu Mahapatra (5):
>       OMAPDSS: DISPC: Enable predecimation
>       OMAPDSS: DISPC: Handle synclost errors in OMAP3
>       OMAPDSS: DISPC: Correct DISPC functional clock usage
>       OMAPDSS: DISPC: Update Accumulator configuration for chroma plane
>       OMAPDSS: DISPC: Support rotation through TILER
> 
> Grazvydas Ignotas (5):
>       OMAPDSS: OMAPFB: check for matching memory size early
>       OMAPDSS: provide default get_timings function for panels
>       OMAPDSS: TPO-TD03MTEA1: add set/check timing functions
>       OMAPDSS: VENC: allow switching venc output type at runtime
>       OMAPDSS: OMAPFB: always allow to configure overlay
> 
> Jan Weitzel (1):
>       ARM: OMAP2+ Add Primview displays to panel-generic
> 
> Mark Brown (4):
>       OMAP: DSS2: Remove suspicous and unused TAAL regulator API usage
>       OMAPDSS: VENC: Check for errors from regulator_enable()
>       OMAPDSS: TPO-TD03MTEA1: Check for errors from regulator_enable()
>       OMAPDSS: TPO-TD03MTEA1: Correct comment for power on delay
> 
> Peter Meerwald (1):
>       OMAPFB: remove unused FB_OMAP_BOOTLOADER_INIT config option
> 
> Ricardo Neri (15):
>       OMAPDSS: Provide an interface for audio support
>       OMAPDSS: HDMI: Split audio_enable into audio_enable/disable
>       OMAPDSS: HDMI: Split video_enable into video_enable/disable
>       OMAPDSS: HDMI: Remove ASoC codec
>       OMAPDSS: HDMI: OMAP4: Remove CEA-861 audio infoframe and IEC-60958 enums
>       OMAPDSS: HDMI: OMAP4: Remove invalid I2S settings
>       OMAPDSS: HDMI: Decouple HDMI audio from ASoC
>       OMAPDSS: HDMI: OMAP4: Expand configuration for IEC-60958 audio
>       OMAPDSS: HDMI: Relocate N/CTS calculation
>       OMAPDSS: HDMI: Add support for more audio sample rates in N/CTS calculation
>       OMAPDSS: HDMI: Add an audio configuration function
>       OMAPDSS: HDMI: OMAP4: Remap speaker order to match ALSA order
>       OMAPDSS: HDMI: Panel: Simplify the name of the HDMI mutex
>       OMAPDSS: HDMI: Implement DSS driver interface for audio
>       OMAPDSS: HDMI: OMAP4: Update IRQ flags for the HPD IRQ request
> 
> Russ Dill (1):
>       OMAPDSS: TFP410: use gpio_set_value_cansleep
> 
> Thomas Weber (2):
>       OMAPDSS: Add Mitsubishi AA084SB01 display support
>       OMAPDSS: Add EDT ET0500G0DH6 display support
> 
> Tomi Valkeinen (38):
>       OMAPDSS: add set_min_bus_tput pointer to omapdss's platform data
>       OMAPDSS: Ensure OPP100 when DSS is operational
>       OMAPDSS: DSI: remove option to use pck for DSI PLL clkin
>       OMAPDSS: panel-dvi: add PD gpio handling
>       OMAP: board-files: remove custom PD GPIO handling for DVI output
>       OMAPDSS: TFP410: rename dvi -> tfp410
>       OMAPDSS: TFP410: rename dvi files to tfp410
>       OMAPDSS: Taal: move reset gpio handling to taal driver
>       OMAPDSS: DSI: implement generic DSI pin config
>       Merge branch 'archit/set-timing-work'
>       Merge branch 'for-l-o-3.5'
>       OMAPFB: fix parsing of vram parameter
>       OMAPDSS: TFP410: pdata rewrite
>       OMAPDSS: DSI: use dsi_get_dsidev_id(dsidev) instead of dsidev->id
>       OMAPDSS: clean up the omapdss platform data mess
>       OMAPDSS: remove return from platform_driver_unreg
>       OMAPDSS: use platform_driver_probe for core/dispc/dss
>       OMAPDSS: create custom pdevs for DSS omap_devices
>       OMAPDSS: create DPI & SDI devices
>       OMAPDSS: create DPI & SDI drivers
>       OMAPDSS: remove uses of dss_runtime_get/put
>       OMAPDSS: handle output-driver reg/unreg more dynamically
>       OMAPDSS: move the creation of debugfs files
>       OMAPDSS: use platform_driver_probe for dsi/hdmi/rfbi/venc/dpi/sdi
>       OMAPDSS: add __init & __exit
>       OMAPFB: add __init & __exit
>       OMAPDSS: change default_device handling
>       OMAPDSS: interface drivers register their panel devices
>       OMAPDSS: init omap_dss_devices internally
>       OMAPDSS: DSI: improve DSI module id handling
>       OMAPDSS: separate pdata based initialization
>       Merge branch 'dss-devtree-cleanup'
>       Merge branch 'omapdss-hdmi-audio'
>       OMAPDSS: use DSI_FIFO_BUG workaround only for manual update displays
>       OMAPDSS: DISPC: fix usage of dispc_ovl_set_accu_uv
>       OMAPDSS: remove compiler warnings when CONFIG_BUG=n
>       OMAPFB: remove compiler warnings when CONFIG_BUG=n
>       OMAPDSS: VRFB: remove compiler warnings when CONFIG_BUG=n
> 
>  Documentation/arm/OMAP/DSS                         |   46 ++
>  arch/arm/mach-omap2/board-3430sdp.c                |   38 +-
>  arch/arm/mach-omap2/board-4430sdp.c                |   37 +-
>  arch/arm/mach-omap2/board-am3517evm.c              |   25 +-
>  arch/arm/mach-omap2/board-cm-t35.c                 |   30 +-
>  arch/arm/mach-omap2/board-devkit8000.c             |   30 +-
>  arch/arm/mach-omap2/board-igep0020.c               |   32 +-
>  arch/arm/mach-omap2/board-omap3beagle.c            |   37 +-
>  arch/arm/mach-omap2/board-omap3evm.c               |   29 +-
>  arch/arm/mach-omap2/board-omap3stalker.c           |   29 +-
>  arch/arm/mach-omap2/board-omap4panda.c             |   39 +-
>  arch/arm/mach-omap2/board-overo.c                  |   25 +-
>  arch/arm/mach-omap2/display.c                      |  196 ++++-
>  drivers/video/omap/Kconfig                         |    8 -
>  drivers/video/omap2/displays/Kconfig               |    8 +-
>  drivers/video/omap2/displays/Makefile              |    2 +-
>  drivers/video/omap2/displays/panel-acx565akm.c     |    7 -
>  drivers/video/omap2/displays/panel-generic-dpi.c   |  107 ++-
>  drivers/video/omap2/displays/panel-n8x0.c          |    8 -
>  drivers/video/omap2/displays/panel-taal.c          |  108 +--
>  .../omap2/displays/{panel-dvi.c => panel-tfp410.c} |  186 ++---
>  .../video/omap2/displays/panel-tpo-td043mtea1.c    |   22 +-
>  drivers/video/omap2/dss/Kconfig                    |   13 +-
>  drivers/video/omap2/dss/apply.c                    |  134 +++-
>  drivers/video/omap2/dss/core.c                     |  255 ++++---
>  drivers/video/omap2/dss/dispc.c                    |  747 ++++++++++++++------
>  drivers/video/omap2/dss/dispc.h                    |   72 ++
>  drivers/video/omap2/dss/display.c                  |   49 +-
>  drivers/video/omap2/dss/dpi.c                      |   75 +-
>  drivers/video/omap2/dss/dsi.c                      |  537 ++++++++------
>  drivers/video/omap2/dss/dss.c                      |   65 +-
>  drivers/video/omap2/dss/dss.h                      |  151 ++--
>  drivers/video/omap2/dss/dss_features.c             |   30 +-
>  drivers/video/omap2/dss/dss_features.h             |    5 +
>  drivers/video/omap2/dss/hdmi.c                     |  443 +++++-------
>  drivers/video/omap2/dss/hdmi_panel.c               |  236 ++++++-
>  drivers/video/omap2/dss/manager.c                  |   19 +-
>  drivers/video/omap2/dss/overlay.c                  |   16 +-
>  drivers/video/omap2/dss/rfbi.c                     |   84 ++-
>  drivers/video/omap2/dss/sdi.c                      |   63 +-
>  drivers/video/omap2/dss/ti_hdmi.h                  |   32 +-
>  drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c          |  480 ++++++++-----
>  drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h          |  161 +----
>  drivers/video/omap2/dss/venc.c                     |  133 +++-
>  drivers/video/omap2/omapfb/omapfb-ioctl.c          |   17 +-
>  drivers/video/omap2/omapfb/omapfb-main.c           |   12 +-
>  drivers/video/omap2/omapfb/omapfb.h                |    1 +
>  drivers/video/omap2/vrfb.c                         |    4 +-
>  include/video/omap-panel-nokia-dsi.h               |    3 +
>  .../{omap-panel-dvi.h => omap-panel-tfp410.h}      |   18 +-
>  include/video/omapdss.h                            |   75 +-
>  51 files changed, 2983 insertions(+), 1996 deletions(-)
>  rename drivers/video/omap2/displays/{panel-dvi.c => panel-tfp410.c} (56%)
>  rename include/video/{omap-panel-dvi.h => omap-panel-tfp410.h} (63%)
> 


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

* Re: [GIT PULL] OMAP DSS for v3.5
  2012-05-22 10:09 [GIT PULL] OMAP DSS for v3.5 Tomi Valkeinen
  2012-05-29 15:05 ` Florian Tobias Schandinat
@ 2012-06-05 12:17 ` Jean Pihet
  2012-06-05 12:33   ` Tomi Valkeinen
  1 sibling, 1 reply; 5+ messages in thread
From: Jean Pihet @ 2012-06-05 12:17 UTC (permalink / raw)
  To: Tomi Valkeinen
  Cc: Florian Tobias Schandinat, linux-omap, linux-fbdev, Tony Lindgren

Hi Tomi,

On Tue, May 22, 2012 at 12:09 PM, Tomi Valkeinen <tomi.valkeinen@ti.com> wrote:
> Hi Florian,
>
> Here are the OMAP DSS changes for 3.5.
>
> I really tried this time to send the pull request early, but here I am
> again, sending it when the merge window has already opened... A few
> late-found bugs caused some unnecessary delays.
>
> I'm using github this time instead of gitorious, as gitorious seems to
> be down. This is my first pull request with a signed tag, I hope
> everything is correct.
>
> Note that there's a merge for small branch with omap board file changes
> (e4a9e94cc58ed6e4efb02b80be3a9bf57f448d07) that is also pulled by Tony
> for the linux-omap tree. This is meant to help avoid conflicts in the
> board files.
>
>  Tomi
>
>
> The following changes since commit 66f75a5d028beaf67c931435fdc3e7823125730c:
>
>  Linux 3.4-rc4 (2012-04-21 14:47:52 -0700)
>
> are available in the git repository at:
>
>  git://github.com/tomba/linux.git tags/omapdss-for-3.5
>
> for you to fetch changes up to e92a5b28f71aea01b281f9c89d97a4bc5b24748f:
>
>  OMAPDSS: HDMI: OMAP4: Update IRQ flags for the HPD IRQ request (2012-05-22 11:00:09 +0300)
>
> ----------------------------------------------------------------
> Omapdss driver changes for 3.5 merge window.
>
> Lots of normal development commits, but perhaps most notable changes are:
>
> * HDMI rework to properly decouple the HDMI audio part from the HDMI video part.
> * Restructure omapdss core driver so that it's possible to implement device
>  tree support. This included changing how platform data is passed to the
>  drivers, changing display device registration and improving the panel driver's
>  ability to configure the underlying video output interface.
> * Basic support for DSI packet interleaving
>

I am using a mainline kernel (3.5.0-rc1) with the patches below integrated.
I have an issue with suspend/resume on OMAP3 Beagleboard, where the
system hangs at resume time.

Here below is a log with the option no_console_suspend set and a few
added messages in case of null pointer in _od_resume_noirq.
It looks like there is no omap_device associated to the "omapdss_dpi" pdev.

What do you think? How to fix this?
Sorry I know there have been some discussions on the lists but I am
not aware of all the details in the devices creation for DSS.

/ # echo mem > /sys/power/state
[   23.262298] PM: Syncing filesystems ... done.
[   23.295501] Freezing user space processes ... (elapsed 0.02 seconds) done.
[   23.326507] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) don
e.
[   23.502197] PM: suspend of devices complete after 163.766 msecs
[   23.511932] PM: late suspend of devices complete after 3.418 msecs
[   23.524444] PM: noirq suspend of devices complete after 5.860 msecs
[   23.531249] Disabling non-boot CPUs ...
[   24.476562] Powerdomain (per_pwrdm) didn't enter target state 1
[   24.482818] Powerdomain (core_pwrdm) didn't enter target state 1
[   24.489166] Could not enter target state in pm_suspend
[   24.495147] *** _od_resume_noirq: od=NULL, dev=0xc78bcc08
[   24.500915] *** _od_resume_noirq: od=NULL, pdev=0xc78bcc00
[   24.506805] *** _od_resume_noirq: od=NULL, pdev->name:omapdss_dpi
[   24.513336] Unable to handle kernel NULL pointer dereference at virtual addre
ss 00000018
[   24.521942] pgd = c62f0000
[   24.524841] [00000018] *pgd†2c1831, *pte\0000000, *ppte\0000000
[   24.531524] Internal error: Oops: 17 [#1] SMP ARM
[   24.536529] Modules linked in:
[   24.539764] CPU: 0    Not tainted  (3.5.0-rc1-00010-g5041caa-dirty #131)
[   24.546844] PC is at _od_resume_noirq+0x1c/0xac
[   24.551635] LR is at _od_resume_noirq+0x94/0xac
...

Regards,
Jean

> ----------------------------------------------------------------
> Archit Taneja (19):
>      OMAPDSS: DISPC/RFBI: Use dispc_mgr_set_lcd_timings() for setting lcd size
>      OMAPDSS: DISPC: Use a common function to set manager timings
>      OMAPDSS: DISPC: Clean up manager timing/size functions
>      OMAPDSS: HDMI: Fix ti_hdmi_4xxx_core_dump
>      OMAPDSS: HDMI: define and dump CORE registers in correct order
>      OMAPDSS: Fix DSI_FCLK clock source selection
>      OMAPDSS: DISPC: Remove Fake VSYNC support
>      OMAPDSS: APPLY: Add manager timings as extra_info in private data
>      OMAPDSS: Apply manager timings instead of direct DISPC writes
>      OMAPDSS: MANAGER: Create a function to check manager timings
>      OMAPDSS: APPLY: Don't check manager settings if it is disabled
>      OMAPDSS: APPLY: Remove display dependency from overlay and manager checks
>      OMAPDSS: DPI/HDMI: Apply manager timings even if panel is disabled
>      OMAPDSS: APPLY: Remove an unnecessary omap_dss_device pointer
>      OMAPDSS: DISPC: Remove omap_dss_device pointer usage from dispc_mgr_pclk_rate()
>      OMAPDSS: DISPC: Remove usage of dispc_mgr_get_device()
>      OMAPDSS: DSI: Support command mode interleaving during video mode blanking periods
>      OMAPDSS: VENC/DISPC: Delay dividing Y resolution for managers connected to VENC
>      OMAPDSS: Apply VENC timings even if panel is disabled
>
> Axel Castaneda Gonzalez (1):
>      OMAPDSS: HDMI: Decouple wrapper enable/disable and audio start/stop
>
> Chandrabhanu Mahapatra (5):
>      OMAPDSS: DISPC: Enable predecimation
>      OMAPDSS: DISPC: Handle synclost errors in OMAP3
>      OMAPDSS: DISPC: Correct DISPC functional clock usage
>      OMAPDSS: DISPC: Update Accumulator configuration for chroma plane
>      OMAPDSS: DISPC: Support rotation through TILER
>
> Grazvydas Ignotas (5):
>      OMAPDSS: OMAPFB: check for matching memory size early
>      OMAPDSS: provide default get_timings function for panels
>      OMAPDSS: TPO-TD03MTEA1: add set/check timing functions
>      OMAPDSS: VENC: allow switching venc output type at runtime
>      OMAPDSS: OMAPFB: always allow to configure overlay
>
> Jan Weitzel (1):
>      ARM: OMAP2+ Add Primview displays to panel-generic
>
> Mark Brown (4):
>      OMAP: DSS2: Remove suspicous and unused TAAL regulator API usage
>      OMAPDSS: VENC: Check for errors from regulator_enable()
>      OMAPDSS: TPO-TD03MTEA1: Check for errors from regulator_enable()
>      OMAPDSS: TPO-TD03MTEA1: Correct comment for power on delay
>
> Peter Meerwald (1):
>      OMAPFB: remove unused FB_OMAP_BOOTLOADER_INIT config option
>
> Ricardo Neri (15):
>      OMAPDSS: Provide an interface for audio support
>      OMAPDSS: HDMI: Split audio_enable into audio_enable/disable
>      OMAPDSS: HDMI: Split video_enable into video_enable/disable
>      OMAPDSS: HDMI: Remove ASoC codec
>      OMAPDSS: HDMI: OMAP4: Remove CEA-861 audio infoframe and IEC-60958 enums
>      OMAPDSS: HDMI: OMAP4: Remove invalid I2S settings
>      OMAPDSS: HDMI: Decouple HDMI audio from ASoC
>      OMAPDSS: HDMI: OMAP4: Expand configuration for IEC-60958 audio
>      OMAPDSS: HDMI: Relocate N/CTS calculation
>      OMAPDSS: HDMI: Add support for more audio sample rates in N/CTS calculation
>      OMAPDSS: HDMI: Add an audio configuration function
>      OMAPDSS: HDMI: OMAP4: Remap speaker order to match ALSA order
>      OMAPDSS: HDMI: Panel: Simplify the name of the HDMI mutex
>      OMAPDSS: HDMI: Implement DSS driver interface for audio
>      OMAPDSS: HDMI: OMAP4: Update IRQ flags for the HPD IRQ request
>
> Russ Dill (1):
>      OMAPDSS: TFP410: use gpio_set_value_cansleep
>
> Thomas Weber (2):
>      OMAPDSS: Add Mitsubishi AA084SB01 display support
>      OMAPDSS: Add EDT ET0500G0DH6 display support
>
> Tomi Valkeinen (38):
>      OMAPDSS: add set_min_bus_tput pointer to omapdss's platform data
>      OMAPDSS: Ensure OPP100 when DSS is operational
>      OMAPDSS: DSI: remove option to use pck for DSI PLL clkin
>      OMAPDSS: panel-dvi: add PD gpio handling
>      OMAP: board-files: remove custom PD GPIO handling for DVI output
>      OMAPDSS: TFP410: rename dvi -> tfp410
>      OMAPDSS: TFP410: rename dvi files to tfp410
>      OMAPDSS: Taal: move reset gpio handling to taal driver
>      OMAPDSS: DSI: implement generic DSI pin config
>      Merge branch 'archit/set-timing-work'
>      Merge branch 'for-l-o-3.5'
>      OMAPFB: fix parsing of vram parameter
>      OMAPDSS: TFP410: pdata rewrite
>      OMAPDSS: DSI: use dsi_get_dsidev_id(dsidev) instead of dsidev->id
>      OMAPDSS: clean up the omapdss platform data mess
>      OMAPDSS: remove return from platform_driver_unreg
>      OMAPDSS: use platform_driver_probe for core/dispc/dss
>      OMAPDSS: create custom pdevs for DSS omap_devices
>      OMAPDSS: create DPI & SDI devices
>      OMAPDSS: create DPI & SDI drivers
>      OMAPDSS: remove uses of dss_runtime_get/put
>      OMAPDSS: handle output-driver reg/unreg more dynamically
>      OMAPDSS: move the creation of debugfs files
>      OMAPDSS: use platform_driver_probe for dsi/hdmi/rfbi/venc/dpi/sdi
>      OMAPDSS: add __init & __exit
>      OMAPFB: add __init & __exit
>      OMAPDSS: change default_device handling
>      OMAPDSS: interface drivers register their panel devices
>      OMAPDSS: init omap_dss_devices internally
>      OMAPDSS: DSI: improve DSI module id handling
>      OMAPDSS: separate pdata based initialization
>      Merge branch 'dss-devtree-cleanup'
>      Merge branch 'omapdss-hdmi-audio'
>      OMAPDSS: use DSI_FIFO_BUG workaround only for manual update displays
>      OMAPDSS: DISPC: fix usage of dispc_ovl_set_accu_uv
>      OMAPDSS: remove compiler warnings when CONFIG_BUG=n
>      OMAPFB: remove compiler warnings when CONFIG_BUG=n
>      OMAPDSS: VRFB: remove compiler warnings when CONFIG_BUG=n
>
>  Documentation/arm/OMAP/DSS                         |   46 ++
>  arch/arm/mach-omap2/board-3430sdp.c                |   38 +-
>  arch/arm/mach-omap2/board-4430sdp.c                |   37 +-
>  arch/arm/mach-omap2/board-am3517evm.c              |   25 +-
>  arch/arm/mach-omap2/board-cm-t35.c                 |   30 +-
>  arch/arm/mach-omap2/board-devkit8000.c             |   30 +-
>  arch/arm/mach-omap2/board-igep0020.c               |   32 +-
>  arch/arm/mach-omap2/board-omap3beagle.c            |   37 +-
>  arch/arm/mach-omap2/board-omap3evm.c               |   29 +-
>  arch/arm/mach-omap2/board-omap3stalker.c           |   29 +-
>  arch/arm/mach-omap2/board-omap4panda.c             |   39 +-
>  arch/arm/mach-omap2/board-overo.c                  |   25 +-
>  arch/arm/mach-omap2/display.c                      |  196 ++++-
>  drivers/video/omap/Kconfig                         |    8 -
>  drivers/video/omap2/displays/Kconfig               |    8 +-
>  drivers/video/omap2/displays/Makefile              |    2 +-
>  drivers/video/omap2/displays/panel-acx565akm.c     |    7 -
>  drivers/video/omap2/displays/panel-generic-dpi.c   |  107 ++-
>  drivers/video/omap2/displays/panel-n8x0.c          |    8 -
>  drivers/video/omap2/displays/panel-taal.c          |  108 +--
>  .../omap2/displays/{panel-dvi.c => panel-tfp410.c} |  186 ++---
>  .../video/omap2/displays/panel-tpo-td043mtea1.c    |   22 +-
>  drivers/video/omap2/dss/Kconfig                    |   13 +-
>  drivers/video/omap2/dss/apply.c                    |  134 +++-
>  drivers/video/omap2/dss/core.c                     |  255 ++++---
>  drivers/video/omap2/dss/dispc.c                    |  747 ++++++++++++++------
>  drivers/video/omap2/dss/dispc.h                    |   72 ++
>  drivers/video/omap2/dss/display.c                  |   49 +-
>  drivers/video/omap2/dss/dpi.c                      |   75 +-
>  drivers/video/omap2/dss/dsi.c                      |  537 ++++++++------
>  drivers/video/omap2/dss/dss.c                      |   65 +-
>  drivers/video/omap2/dss/dss.h                      |  151 ++--
>  drivers/video/omap2/dss/dss_features.c             |   30 +-
>  drivers/video/omap2/dss/dss_features.h             |    5 +
>  drivers/video/omap2/dss/hdmi.c                     |  443 +++++-------
>  drivers/video/omap2/dss/hdmi_panel.c               |  236 ++++++-
>  drivers/video/omap2/dss/manager.c                  |   19 +-
>  drivers/video/omap2/dss/overlay.c                  |   16 +-
>  drivers/video/omap2/dss/rfbi.c                     |   84 ++-
>  drivers/video/omap2/dss/sdi.c                      |   63 +-
>  drivers/video/omap2/dss/ti_hdmi.h                  |   32 +-
>  drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c          |  480 ++++++++-----
>  drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h          |  161 +----
>  drivers/video/omap2/dss/venc.c                     |  133 +++-
>  drivers/video/omap2/omapfb/omapfb-ioctl.c          |   17 +-
>  drivers/video/omap2/omapfb/omapfb-main.c           |   12 +-
>  drivers/video/omap2/omapfb/omapfb.h                |    1 +
>  drivers/video/omap2/vrfb.c                         |    4 +-
>  include/video/omap-panel-nokia-dsi.h               |    3 +
>  .../{omap-panel-dvi.h => omap-panel-tfp410.h}      |   18 +-
>  include/video/omapdss.h                            |   75 +-
>  51 files changed, 2983 insertions(+), 1996 deletions(-)
>  rename drivers/video/omap2/displays/{panel-dvi.c => panel-tfp410.c} (56%)
>  rename include/video/{omap-panel-dvi.h => omap-panel-tfp410.h} (63%)
>

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

* Re: [GIT PULL] OMAP DSS for v3.5
  2012-06-05 12:17 ` Jean Pihet
@ 2012-06-05 12:33   ` Tomi Valkeinen
  2012-06-05 13:00     ` Jean Pihet
  0 siblings, 1 reply; 5+ messages in thread
From: Tomi Valkeinen @ 2012-06-05 12:33 UTC (permalink / raw)
  To: Jean Pihet
  Cc: Florian Tobias Schandinat, linux-omap, linux-fbdev, Tony Lindgren


[-- Attachment #1.1: Type: text/plain, Size: 2360 bytes --]

Hi Jean,

On Tue, 2012-06-05 at 14:17 +0200, Jean Pihet wrote:
> Hi Tomi,

> I am using a mainline kernel (3.5.0-rc1) with the patches below integrated.
> I have an issue with suspend/resume on OMAP3 Beagleboard, where the
> system hangs at resume time.
> 
> Here below is a log with the option no_console_suspend set and a few
> added messages in case of null pointer in _od_resume_noirq.
> It looks like there is no omap_device associated to the "omapdss_dpi" pdev.
> 
> What do you think? How to fix this?
> Sorry I know there have been some discussions on the lists but I am
> not aware of all the details in the devices creation for DSS.
> 
> / # echo mem > /sys/power/state
> [   23.262298] PM: Syncing filesystems ... done.
> [   23.295501] Freezing user space processes ... (elapsed 0.02 seconds) done.
> [   23.326507] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) don
> e.
> [   23.502197] PM: suspend of devices complete after 163.766 msecs
> [   23.511932] PM: late suspend of devices complete after 3.418 msecs
> [   23.524444] PM: noirq suspend of devices complete after 5.860 msecs
> [   23.531249] Disabling non-boot CPUs ...
> [   24.476562] Powerdomain (per_pwrdm) didn't enter target state 1
> [   24.482818] Powerdomain (core_pwrdm) didn't enter target state 1
> [   24.489166] Could not enter target state in pm_suspend
> [   24.495147] *** _od_resume_noirq: od=NULL, dev=0xc78bcc08
> [   24.500915] *** _od_resume_noirq: od=NULL, pdev=0xc78bcc00
> [   24.506805] *** _od_resume_noirq: od=NULL, pdev->name:omapdss_dpi
> [   24.513336] Unable to handle kernel NULL pointer dereference at virtual addre
> ss 00000018
> [   24.521942] pgd = c62f0000
> [   24.524841] [00000018] *pgd=862c1831, *pte=00000000, *ppte=00000000
> [   24.531524] Internal error: Oops: 17 [#1] SMP ARM
> [   24.536529] Modules linked in:
> [   24.539764] CPU: 0    Not tainted  (3.5.0-rc1-00010-g5041caa-dirty #131)
> [   24.546844] PC is at _od_resume_noirq+0x1c/0xac
> [   24.551635] LR is at _od_resume_noirq+0x94/0xac
> ...

I'm on leave currently, so I can't test it right now. But can you try
the attached patch? Or even better, try merging the tag:

git://gitorious.org/linux-omap-dss2/linux.git tags/omapdss-for-3.5-rc2

which contains the included patch plus a couple other fixes.

 Tomi


[-- Attachment #1.2: 0001-OMAPDSS-fix-registration-of-DPI-and-SDI-devices.patch --]
[-- Type: text/x-patch, Size: 2547 bytes --]

From 4ea30e9e0f2956b2ebcf1e81ac08d7c6691cf32d Mon Sep 17 00:00:00 2001
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
Date: Tue, 5 Jun 2012 13:17:32 +0300
Subject: [PATCH] OMAPDSS: fix registration of DPI and SDI devices

The omapdss arch initialization code registers all the output devices as
omap_devices. However, DPI and SDI are not proper omap_devices, as they
do not have any corresponding HWMOD. This leads to crashes or problems
when the platform code tries to use omap_device functions for DPI and
SDI devices.

One such crash was reported by John Stultz <johnstul@us.ibm.com>:

[   18.756835] Unable to handle kernel NULL pointer dereference at
virtual addr8
[   18.765319] pgd = ea6b8000
[   18.768188] [00000018] *pgd=aa942831, *pte=00000000, *ppte=00000000
[   18.774749] Internal error: Oops: 17 [#1] SMP ARM
[   18.779663] Modules linked in:
[   18.782836] CPU: 0    Not tainted  (3.5.0-rc1-dirty #456)
[   18.788482] PC is at _od_resume_noirq+0x1c/0x78
[   18.793212] LR is at _od_resume_noirq+0x6c/0x78
[   18.797943] pc : [<c00307ec>]    lr : [<c003083c>]    psr: 20000113
[   18.797943] sp : ec3abe80  ip : ec3abdb8  fp : 00000006
[   18.809936] r10: ec1148b8  r9 : c08a48f0  r8 : c00307d0
[   18.815368] r7 : 00000000  r6 : 00000000  r5 : ec114800  r4 :
ec114808
[   18.822174] r3 : 00000000  r2 : 00000000  r1 : ec154fe8  r0 :
00000006
[   18.829010] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM
Segment user
[   18.836456] Control: 10c5387d  Table: aa6b804a  DAC: 00000015
[   18.842437] Process sh (pid: 1139, stack limit = 0xec3aa2f0)
[   18.848358] Stack: (0xec3abe80 to 0xec3ac000)

DPI and SDI can be plain platform_devices. This patch changes the
registration from omap_device_register() to platform_device_add().

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reported-by: John Stultz <johnstul@us.ibm.com>
---
 arch/arm/mach-omap2/display.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c
index 54d49dd..5fb47a1 100644
--- a/arch/arm/mach-omap2/display.c
+++ b/arch/arm/mach-omap2/display.c
@@ -271,9 +271,9 @@ static struct platform_device *create_simple_dss_pdev(const char *pdev_name,
 		goto err;
 	}
 
-	r = omap_device_register(pdev);
+	r = platform_device_add(pdev);
 	if (r) {
-		pr_err("Could not register omap_device for %s\n", pdev_name);
+		pr_err("Could not register platform_device for %s\n", pdev_name);
 		goto err;
 	}
 
-- 
1.7.9.5


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [GIT PULL] OMAP DSS for v3.5
  2012-06-05 12:33   ` Tomi Valkeinen
@ 2012-06-05 13:00     ` Jean Pihet
  0 siblings, 0 replies; 5+ messages in thread
From: Jean Pihet @ 2012-06-05 13:00 UTC (permalink / raw)
  To: Tomi Valkeinen
  Cc: Florian Tobias Schandinat, linux-omap, linux-fbdev, Tony Lindgren

Hi Tomi,

On Tue, Jun 5, 2012 at 2:33 PM, Tomi Valkeinen <tomi.valkeinen@ti.com> wrote:
> Hi Jean,
>
> On Tue, 2012-06-05 at 14:17 +0200, Jean Pihet wrote:
>> Hi Tomi,
>
>> I am using a mainline kernel (3.5.0-rc1) with the patches below integrated.
>> I have an issue with suspend/resume on OMAP3 Beagleboard, where the
>> system hangs at resume time.
>>
>> Here below is a log with the option no_console_suspend set and a few
>> added messages in case of null pointer in _od_resume_noirq.
>> It looks like there is no omap_device associated to the "omapdss_dpi" pdev.
>>
>> What do you think? How to fix this?
>> Sorry I know there have been some discussions on the lists but I am
>> not aware of all the details in the devices creation for DSS.
>>
>> / # echo mem > /sys/power/state
>> [   23.262298] PM: Syncing filesystems ... done.
>> [   23.295501] Freezing user space processes ... (elapsed 0.02 seconds) done.
>> [   23.326507] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) don
>> e.
>> [   23.502197] PM: suspend of devices complete after 163.766 msecs
>> [   23.511932] PM: late suspend of devices complete after 3.418 msecs
>> [   23.524444] PM: noirq suspend of devices complete after 5.860 msecs
>> [   23.531249] Disabling non-boot CPUs ...
>> [   24.476562] Powerdomain (per_pwrdm) didn't enter target state 1
>> [   24.482818] Powerdomain (core_pwrdm) didn't enter target state 1
>> [   24.489166] Could not enter target state in pm_suspend
>> [   24.495147] *** _od_resume_noirq: od=NULL, dev=0xc78bcc08
>> [   24.500915] *** _od_resume_noirq: od=NULL, pdev=0xc78bcc00
>> [   24.506805] *** _od_resume_noirq: od=NULL, pdev->name:omapdss_dpi
>> [   24.513336] Unable to handle kernel NULL pointer dereference at virtual addre
>> ss 00000018
>> [   24.521942] pgd = c62f0000
>> [   24.524841] [00000018] *pgd†2c1831, *pte\0000000, *ppte\0000000
>> [   24.531524] Internal error: Oops: 17 [#1] SMP ARM
>> [   24.536529] Modules linked in:
>> [   24.539764] CPU: 0    Not tainted  (3.5.0-rc1-00010-g5041caa-dirty #131)
>> [   24.546844] PC is at _od_resume_noirq+0x1c/0xac
>> [   24.551635] LR is at _od_resume_noirq+0x94/0xac
>> ...
>
> I'm on leave currently, so I can't test it right now. But can you try
Oh sorry about that!

> the attached patch? Or even better, try merging the tag:
That fixes it! I am able to suspend/resume correctly now.

>
> git://gitorious.org/linux-omap-dss2/linux.git tags/omapdss-for-3.5-rc2
>
> which contains the included patch plus a couple other fixes.
Thanks for the link, that is certainly useful!

Have a nice time on leave ;-p

>
>  Tomi
>

Regards,
Jean

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

end of thread, other threads:[~2012-06-05 13:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-22 10:09 [GIT PULL] OMAP DSS for v3.5 Tomi Valkeinen
2012-05-29 15:05 ` Florian Tobias Schandinat
2012-06-05 12:17 ` Jean Pihet
2012-06-05 12:33   ` Tomi Valkeinen
2012-06-05 13:00     ` Jean Pihet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).