Re: [PATCH v3 00/27] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-06-06 Thread Tony Lindgren
* Peter Ujfalusi  [160603 06:10]:
> On 06/03/16 14:03, Peter Ujfalusi wrote:
> > 
> > I have prepared two branches on top of v4.7-rc1:
> > [1] https://github.com/omap-audio/linux-audio.git 
> > peter/for-4.8_omapdss_part1
> > 
> > containing:
> >   ARM: OMAP: rx51-video: Do not set TV connector_type
> >   ARM/video: omap2: Move omap_display_init declaration to
> > mach-omap2/display.h
> >   video/platform_data: omapdss: Create new header file for platform data
> >   ARM: OMAP2: Use the platform_data header for omapdss
> 
> I have added your Acked-by to the ARM: OMAP patches to speed things up, please
> let me know if that is OK.

Well in general not, but seems OK to me in this case.

If peter/for-4.8_omapdss_part1 is now considered immutable, can
you please send me a pull request that I can merge it into
omap-for-v4.8/soc too?

Regards,

Tony


Re: [PATCH v3 00/27] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-06-06 Thread Tony Lindgren
* Peter Ujfalusi  [160603 06:10]:
> On 06/03/16 14:03, Peter Ujfalusi wrote:
> > 
> > I have prepared two branches on top of v4.7-rc1:
> > [1] https://github.com/omap-audio/linux-audio.git 
> > peter/for-4.8_omapdss_part1
> > 
> > containing:
> >   ARM: OMAP: rx51-video: Do not set TV connector_type
> >   ARM/video: omap2: Move omap_display_init declaration to
> > mach-omap2/display.h
> >   video/platform_data: omapdss: Create new header file for platform data
> >   ARM: OMAP2: Use the platform_data header for omapdss
> 
> I have added your Acked-by to the ARM: OMAP patches to speed things up, please
> let me know if that is OK.

Well in general not, but seems OK to me in this case.

If peter/for-4.8_omapdss_part1 is now considered immutable, can
you please send me a pull request that I can merge it into
omap-for-v4.8/soc too?

Regards,

Tony


Re: [PATCH v3 00/27] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-06-03 Thread Peter Ujfalusi
Tony,

On 06/03/16 14:03, Peter Ujfalusi wrote:
> Hi,
> 
> Changes since v2:
> - Collected the patches (4 of them) at the beginning which touches mach-omap2
> - Smaller changes in the moved patches to make sure they compile.
> 
> Changes since v1:
> - patches (2) added to remove the inclusion of video/omap-panel-data.h when it
>   is not needed
> - Transitional patch to create the video/omapfb_dss.h has been changed to copy
>   the content of the omapdss.h in one step.
> 
> I have prepared two branches on top of v4.7-rc1:
> [1] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part1
> 
> containing:
>   ARM: OMAP: rx51-video: Do not set TV connector_type
>   ARM/video: omap2: Move omap_display_init declaration to
> mach-omap2/display.h
>   video/platform_data: omapdss: Create new header file for platform data
>   ARM: OMAP2: Use the platform_data header for omapdss

I have added your Acked-by to the ARM: OMAP patches to speed things up, please
let me know if that is OK.

> 
> [2] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part2
> 
> containing the whole set, including part1.
> 
> Only patches in part1 branch are touching arch/arm/mach-omap2/ files.
> 
> omapfb is deprecated. It will not receive new features, only bug fixes. On 
> the.
> other hand omapdrm is in active development and the fact that both
> implementation (omapfb and omapdrm) is using the same header file
> (video/omapdss.h) makes implementing new features or doing bigger clean ups in
> omapdrm harder and hared as the change should not break omapfb.
> 
> To overcome this issue we need to separate the two implementation. This is the
> aim of this series:
> Create platform_data header for omapdss,
> clean up the header usage and dependencies,
> new header file for omapfb stack (video/omapfb_dss.h)
> local omapdss.h header file for omapdrm.
> 
> Regards,
> Peter
> ---
> Peter Ujfalusi (27):
>   ARM: OMAP: rx51-video: Do not set TV connector_type
>   ARM/video: omap2: Move omap_display_init declaration to
> mach-omap2/display.h
>   video/platform_data: omapdss: Create new header file for platform data
>   ARM: OMAP2: Use the platform_data header for omapdss
>   omapfb: panel-tpo-td028ttec1: Remove legacy boot support
>   omapfb: panel-nec-nl8048hl11: Remove legacy boot support
>   omapfb: panel-tpo-td043mtea1: Remove legacy boot support
>   omapfb: panel-sharp-ls037v7dw01: Remove legacy boot support
>   omapfb: panel-lgphilips-lb035q02: Remove legacy boot support
>   omapfb: panel-dsi-cm: Remove legacy boot support
>   omapfb: connector-hdmi: Remove legacy boot support
>   omapfb: connector-dvi: Remove legacy boot support
>   omapfb: encoder-tfp410: Remove legacy boot support
>   omapfb: encoder-tpd12s015: No need to include video/omap-panle-data.h
>   drm/omap: displays: Do not include video/omap-panel-data.h if not
> needed
>   omapdss: omap-panel-data.h: Remove struct omap_dss_device declaration
>   drm/omap: connector-analog-tv: Support only Composite type in legacy
> boot
>   omapfb: connector-analog-tv: Support only Composite type in legacy
> boot
>   omapdss: omap-panel-data.h: Remove connector_type from atv pdata
>   drm/omap: Remove reference to pdata->default_device
>   omapfb: Remove reference to pdata->default_device
>   platform_data: omapdss: Remove unused members from omap_dss_board_info
>   omapdss: hdmi audio: Make header file independent of video/omapdss.h
>   drm/omap: Do not include video/omapdss.h directly in drivers
>   omapfb: Create new header file for omapfb DSS implementation
>   [media] omap_vout: Switch to use the video/omapfb_dss.h header file
>   drm/omap: Remove the video/omapdss.h and move it's content to local
> header file
> 
>  arch/arm/mach-omap2/board-ldp.c|   3 +-
>  arch/arm/mach-omap2/board-rx51-video.c |   4 +-
>  arch/arm/mach-omap2/display.c  |   2 +-
>  arch/arm/mach-omap2/display.h  |   5 +
>  arch/arm/mach-omap2/dss-common.c   |   2 +-
>  .../gpu/drm/omapdrm/displays/connector-analog-tv.c |  11 +-
>  drivers/gpu/drm/omapdrm/displays/connector-dvi.c   |   4 +-
>  drivers/gpu/drm/omapdrm/displays/connector-hdmi.c  |   4 +-
>  drivers/gpu/drm/omapdrm/displays/encoder-opa362.c  |   2 +-
>  drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c  |   3 +-
>  .../gpu/drm/omapdrm/displays/encoder-tpd12s015.c   |   3 +-
>  drivers/gpu/drm/omapdrm/displays/panel-dpi.c   |   3 +-
>  drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c|   4 +-
>  .../omapdrm/displays/panel-lgphilips-lb035q02.c|   3 +-
>  .../drm/omapdrm/displays/panel-nec-nl8048hl11.c|   2 +-
>  .../drm/omapdrm/displays/panel-sharp-ls037v7dw01.c |   3 +-
>  .../drm/omapdrm/displays/panel-sony-acx565akm.c|   3 +-
>  .../drm/omapdrm/displays/panel-tpo-td028ttec1.c|   3 +-
>  .../drm/omapdrm/displays/panel-tpo-td043mtea1.c|   2 +-
>  drivers/gpu/drm/omapdrm/dss/core.c

Re: [PATCH v3 00/27] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-06-03 Thread Peter Ujfalusi
Tony,

On 06/03/16 14:03, Peter Ujfalusi wrote:
> Hi,
> 
> Changes since v2:
> - Collected the patches (4 of them) at the beginning which touches mach-omap2
> - Smaller changes in the moved patches to make sure they compile.
> 
> Changes since v1:
> - patches (2) added to remove the inclusion of video/omap-panel-data.h when it
>   is not needed
> - Transitional patch to create the video/omapfb_dss.h has been changed to copy
>   the content of the omapdss.h in one step.
> 
> I have prepared two branches on top of v4.7-rc1:
> [1] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part1
> 
> containing:
>   ARM: OMAP: rx51-video: Do not set TV connector_type
>   ARM/video: omap2: Move omap_display_init declaration to
> mach-omap2/display.h
>   video/platform_data: omapdss: Create new header file for platform data
>   ARM: OMAP2: Use the platform_data header for omapdss

I have added your Acked-by to the ARM: OMAP patches to speed things up, please
let me know if that is OK.

> 
> [2] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part2
> 
> containing the whole set, including part1.
> 
> Only patches in part1 branch are touching arch/arm/mach-omap2/ files.
> 
> omapfb is deprecated. It will not receive new features, only bug fixes. On 
> the.
> other hand omapdrm is in active development and the fact that both
> implementation (omapfb and omapdrm) is using the same header file
> (video/omapdss.h) makes implementing new features or doing bigger clean ups in
> omapdrm harder and hared as the change should not break omapfb.
> 
> To overcome this issue we need to separate the two implementation. This is the
> aim of this series:
> Create platform_data header for omapdss,
> clean up the header usage and dependencies,
> new header file for omapfb stack (video/omapfb_dss.h)
> local omapdss.h header file for omapdrm.
> 
> Regards,
> Peter
> ---
> Peter Ujfalusi (27):
>   ARM: OMAP: rx51-video: Do not set TV connector_type
>   ARM/video: omap2: Move omap_display_init declaration to
> mach-omap2/display.h
>   video/platform_data: omapdss: Create new header file for platform data
>   ARM: OMAP2: Use the platform_data header for omapdss
>   omapfb: panel-tpo-td028ttec1: Remove legacy boot support
>   omapfb: panel-nec-nl8048hl11: Remove legacy boot support
>   omapfb: panel-tpo-td043mtea1: Remove legacy boot support
>   omapfb: panel-sharp-ls037v7dw01: Remove legacy boot support
>   omapfb: panel-lgphilips-lb035q02: Remove legacy boot support
>   omapfb: panel-dsi-cm: Remove legacy boot support
>   omapfb: connector-hdmi: Remove legacy boot support
>   omapfb: connector-dvi: Remove legacy boot support
>   omapfb: encoder-tfp410: Remove legacy boot support
>   omapfb: encoder-tpd12s015: No need to include video/omap-panle-data.h
>   drm/omap: displays: Do not include video/omap-panel-data.h if not
> needed
>   omapdss: omap-panel-data.h: Remove struct omap_dss_device declaration
>   drm/omap: connector-analog-tv: Support only Composite type in legacy
> boot
>   omapfb: connector-analog-tv: Support only Composite type in legacy
> boot
>   omapdss: omap-panel-data.h: Remove connector_type from atv pdata
>   drm/omap: Remove reference to pdata->default_device
>   omapfb: Remove reference to pdata->default_device
>   platform_data: omapdss: Remove unused members from omap_dss_board_info
>   omapdss: hdmi audio: Make header file independent of video/omapdss.h
>   drm/omap: Do not include video/omapdss.h directly in drivers
>   omapfb: Create new header file for omapfb DSS implementation
>   [media] omap_vout: Switch to use the video/omapfb_dss.h header file
>   drm/omap: Remove the video/omapdss.h and move it's content to local
> header file
> 
>  arch/arm/mach-omap2/board-ldp.c|   3 +-
>  arch/arm/mach-omap2/board-rx51-video.c |   4 +-
>  arch/arm/mach-omap2/display.c  |   2 +-
>  arch/arm/mach-omap2/display.h  |   5 +
>  arch/arm/mach-omap2/dss-common.c   |   2 +-
>  .../gpu/drm/omapdrm/displays/connector-analog-tv.c |  11 +-
>  drivers/gpu/drm/omapdrm/displays/connector-dvi.c   |   4 +-
>  drivers/gpu/drm/omapdrm/displays/connector-hdmi.c  |   4 +-
>  drivers/gpu/drm/omapdrm/displays/encoder-opa362.c  |   2 +-
>  drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c  |   3 +-
>  .../gpu/drm/omapdrm/displays/encoder-tpd12s015.c   |   3 +-
>  drivers/gpu/drm/omapdrm/displays/panel-dpi.c   |   3 +-
>  drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c|   4 +-
>  .../omapdrm/displays/panel-lgphilips-lb035q02.c|   3 +-
>  .../drm/omapdrm/displays/panel-nec-nl8048hl11.c|   2 +-
>  .../drm/omapdrm/displays/panel-sharp-ls037v7dw01.c |   3 +-
>  .../drm/omapdrm/displays/panel-sony-acx565akm.c|   3 +-
>  .../drm/omapdrm/displays/panel-tpo-td028ttec1.c|   3 +-
>  .../drm/omapdrm/displays/panel-tpo-td043mtea1.c|   2 +-
>  drivers/gpu/drm/omapdrm/dss/core.c

[PATCH v3 00/27] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-06-03 Thread Peter Ujfalusi
Hi,

Changes since v2:
- Collected the patches (4 of them) at the beginning which touches mach-omap2
- Smaller changes in the moved patches to make sure they compile.

Changes since v1:
- patches (2) added to remove the inclusion of video/omap-panel-data.h when it
  is not needed
- Transitional patch to create the video/omapfb_dss.h has been changed to copy
  the content of the omapdss.h in one step.

I have prepared two branches on top of v4.7-rc1:
[1] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part1

containing:
  ARM: OMAP: rx51-video: Do not set TV connector_type
  ARM/video: omap2: Move omap_display_init declaration to
mach-omap2/display.h
  video/platform_data: omapdss: Create new header file for platform data
  ARM: OMAP2: Use the platform_data header for omapdss

[2] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part2

containing the whole set, including part1.

Only patches in part1 branch are touching arch/arm/mach-omap2/ files.

omapfb is deprecated. It will not receive new features, only bug fixes. On the.
other hand omapdrm is in active development and the fact that both
implementation (omapfb and omapdrm) is using the same header file
(video/omapdss.h) makes implementing new features or doing bigger clean ups in
omapdrm harder and hared as the change should not break omapfb.

To overcome this issue we need to separate the two implementation. This is the
aim of this series:
Create platform_data header for omapdss,
clean up the header usage and dependencies,
new header file for omapfb stack (video/omapfb_dss.h)
local omapdss.h header file for omapdrm.

Regards,
Peter
---
Peter Ujfalusi (27):
  ARM: OMAP: rx51-video: Do not set TV connector_type
  ARM/video: omap2: Move omap_display_init declaration to
mach-omap2/display.h
  video/platform_data: omapdss: Create new header file for platform data
  ARM: OMAP2: Use the platform_data header for omapdss
  omapfb: panel-tpo-td028ttec1: Remove legacy boot support
  omapfb: panel-nec-nl8048hl11: Remove legacy boot support
  omapfb: panel-tpo-td043mtea1: Remove legacy boot support
  omapfb: panel-sharp-ls037v7dw01: Remove legacy boot support
  omapfb: panel-lgphilips-lb035q02: Remove legacy boot support
  omapfb: panel-dsi-cm: Remove legacy boot support
  omapfb: connector-hdmi: Remove legacy boot support
  omapfb: connector-dvi: Remove legacy boot support
  omapfb: encoder-tfp410: Remove legacy boot support
  omapfb: encoder-tpd12s015: No need to include video/omap-panle-data.h
  drm/omap: displays: Do not include video/omap-panel-data.h if not
needed
  omapdss: omap-panel-data.h: Remove struct omap_dss_device declaration
  drm/omap: connector-analog-tv: Support only Composite type in legacy
boot
  omapfb: connector-analog-tv: Support only Composite type in legacy
boot
  omapdss: omap-panel-data.h: Remove connector_type from atv pdata
  drm/omap: Remove reference to pdata->default_device
  omapfb: Remove reference to pdata->default_device
  platform_data: omapdss: Remove unused members from omap_dss_board_info
  omapdss: hdmi audio: Make header file independent of video/omapdss.h
  drm/omap: Do not include video/omapdss.h directly in drivers
  omapfb: Create new header file for omapfb DSS implementation
  [media] omap_vout: Switch to use the video/omapfb_dss.h header file
  drm/omap: Remove the video/omapdss.h and move it's content to local
header file

 arch/arm/mach-omap2/board-ldp.c|   3 +-
 arch/arm/mach-omap2/board-rx51-video.c |   4 +-
 arch/arm/mach-omap2/display.c  |   2 +-
 arch/arm/mach-omap2/display.h  |   5 +
 arch/arm/mach-omap2/dss-common.c   |   2 +-
 .../gpu/drm/omapdrm/displays/connector-analog-tv.c |  11 +-
 drivers/gpu/drm/omapdrm/displays/connector-dvi.c   |   4 +-
 drivers/gpu/drm/omapdrm/displays/connector-hdmi.c  |   4 +-
 drivers/gpu/drm/omapdrm/displays/encoder-opa362.c  |   2 +-
 drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c  |   3 +-
 .../gpu/drm/omapdrm/displays/encoder-tpd12s015.c   |   3 +-
 drivers/gpu/drm/omapdrm/displays/panel-dpi.c   |   3 +-
 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c|   4 +-
 .../omapdrm/displays/panel-lgphilips-lb035q02.c|   3 +-
 .../drm/omapdrm/displays/panel-nec-nl8048hl11.c|   2 +-
 .../drm/omapdrm/displays/panel-sharp-ls037v7dw01.c |   3 +-
 .../drm/omapdrm/displays/panel-sony-acx565akm.c|   3 +-
 .../drm/omapdrm/displays/panel-tpo-td028ttec1.c|   3 +-
 .../drm/omapdrm/displays/panel-tpo-td043mtea1.c|   2 +-
 drivers/gpu/drm/omapdrm/dss/core.c |   5 +-
 drivers/gpu/drm/omapdrm/dss/dispc.c|   3 +-
 drivers/gpu/drm/omapdrm/dss/dispc_coefs.c  |   2 +-
 drivers/gpu/drm/omapdrm/dss/display.c  |   2 +-
 drivers/gpu/drm/omapdrm/dss/dpi.c  |   3 +-
 drivers/gpu/drm/omapdrm/dss/dsi.c  |   2 +-
 

[PATCH v3 00/27] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-06-03 Thread Peter Ujfalusi
Hi,

Changes since v2:
- Collected the patches (4 of them) at the beginning which touches mach-omap2
- Smaller changes in the moved patches to make sure they compile.

Changes since v1:
- patches (2) added to remove the inclusion of video/omap-panel-data.h when it
  is not needed
- Transitional patch to create the video/omapfb_dss.h has been changed to copy
  the content of the omapdss.h in one step.

I have prepared two branches on top of v4.7-rc1:
[1] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part1

containing:
  ARM: OMAP: rx51-video: Do not set TV connector_type
  ARM/video: omap2: Move omap_display_init declaration to
mach-omap2/display.h
  video/platform_data: omapdss: Create new header file for platform data
  ARM: OMAP2: Use the platform_data header for omapdss

[2] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part2

containing the whole set, including part1.

Only patches in part1 branch are touching arch/arm/mach-omap2/ files.

omapfb is deprecated. It will not receive new features, only bug fixes. On the.
other hand omapdrm is in active development and the fact that both
implementation (omapfb and omapdrm) is using the same header file
(video/omapdss.h) makes implementing new features or doing bigger clean ups in
omapdrm harder and hared as the change should not break omapfb.

To overcome this issue we need to separate the two implementation. This is the
aim of this series:
Create platform_data header for omapdss,
clean up the header usage and dependencies,
new header file for omapfb stack (video/omapfb_dss.h)
local omapdss.h header file for omapdrm.

Regards,
Peter
---
Peter Ujfalusi (27):
  ARM: OMAP: rx51-video: Do not set TV connector_type
  ARM/video: omap2: Move omap_display_init declaration to
mach-omap2/display.h
  video/platform_data: omapdss: Create new header file for platform data
  ARM: OMAP2: Use the platform_data header for omapdss
  omapfb: panel-tpo-td028ttec1: Remove legacy boot support
  omapfb: panel-nec-nl8048hl11: Remove legacy boot support
  omapfb: panel-tpo-td043mtea1: Remove legacy boot support
  omapfb: panel-sharp-ls037v7dw01: Remove legacy boot support
  omapfb: panel-lgphilips-lb035q02: Remove legacy boot support
  omapfb: panel-dsi-cm: Remove legacy boot support
  omapfb: connector-hdmi: Remove legacy boot support
  omapfb: connector-dvi: Remove legacy boot support
  omapfb: encoder-tfp410: Remove legacy boot support
  omapfb: encoder-tpd12s015: No need to include video/omap-panle-data.h
  drm/omap: displays: Do not include video/omap-panel-data.h if not
needed
  omapdss: omap-panel-data.h: Remove struct omap_dss_device declaration
  drm/omap: connector-analog-tv: Support only Composite type in legacy
boot
  omapfb: connector-analog-tv: Support only Composite type in legacy
boot
  omapdss: omap-panel-data.h: Remove connector_type from atv pdata
  drm/omap: Remove reference to pdata->default_device
  omapfb: Remove reference to pdata->default_device
  platform_data: omapdss: Remove unused members from omap_dss_board_info
  omapdss: hdmi audio: Make header file independent of video/omapdss.h
  drm/omap: Do not include video/omapdss.h directly in drivers
  omapfb: Create new header file for omapfb DSS implementation
  [media] omap_vout: Switch to use the video/omapfb_dss.h header file
  drm/omap: Remove the video/omapdss.h and move it's content to local
header file

 arch/arm/mach-omap2/board-ldp.c|   3 +-
 arch/arm/mach-omap2/board-rx51-video.c |   4 +-
 arch/arm/mach-omap2/display.c  |   2 +-
 arch/arm/mach-omap2/display.h  |   5 +
 arch/arm/mach-omap2/dss-common.c   |   2 +-
 .../gpu/drm/omapdrm/displays/connector-analog-tv.c |  11 +-
 drivers/gpu/drm/omapdrm/displays/connector-dvi.c   |   4 +-
 drivers/gpu/drm/omapdrm/displays/connector-hdmi.c  |   4 +-
 drivers/gpu/drm/omapdrm/displays/encoder-opa362.c  |   2 +-
 drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c  |   3 +-
 .../gpu/drm/omapdrm/displays/encoder-tpd12s015.c   |   3 +-
 drivers/gpu/drm/omapdrm/displays/panel-dpi.c   |   3 +-
 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c|   4 +-
 .../omapdrm/displays/panel-lgphilips-lb035q02.c|   3 +-
 .../drm/omapdrm/displays/panel-nec-nl8048hl11.c|   2 +-
 .../drm/omapdrm/displays/panel-sharp-ls037v7dw01.c |   3 +-
 .../drm/omapdrm/displays/panel-sony-acx565akm.c|   3 +-
 .../drm/omapdrm/displays/panel-tpo-td028ttec1.c|   3 +-
 .../drm/omapdrm/displays/panel-tpo-td043mtea1.c|   2 +-
 drivers/gpu/drm/omapdrm/dss/core.c |   5 +-
 drivers/gpu/drm/omapdrm/dss/dispc.c|   3 +-
 drivers/gpu/drm/omapdrm/dss/dispc_coefs.c  |   2 +-
 drivers/gpu/drm/omapdrm/dss/display.c  |   2 +-
 drivers/gpu/drm/omapdrm/dss/dpi.c  |   3 +-
 drivers/gpu/drm/omapdrm/dss/dsi.c  |   2 +-
 

Re: [PATCH v3 00/27] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-06-03 Thread Peter Ujfalusi
Hi,

I can not believe this... My internet got disconnected during git
send-email... This is the second time that this happened.

Will resend the series.

On 06/03/16 13:52, Peter Ujfalusi wrote:
> Hi,
> 
> Changes since v2:
> - Collected the patches (4 of them) at the beginning which touches mach-omap2
> - Smaller changes in the moved patches to make sure they compile.
> 
> Changes since v1:
> - patches (2) added to remove the inclusion of video/omap-panel-data.h when it
>   is not needed
> - Transitional patch to create the video/omapfb_dss.h has been changed to copy
>   the content of the omapdss.h in one step.
> 
> I have prepared two branches on top of v4.7-rc1:
> [1] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part1
> 
> containing:
>   ARM: OMAP: rx51-video: Do not set TV connector_type
>   ARM/video: omap2: Move omap_display_init declaration to
> mach-omap2/display.h
>   video/platform_data: omapdss: Create new header file for platform data
>   ARM: OMAP2: Use the platform_data header for omapdss
> 
> [2] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part2
> 
> containing the whole set, including part1.
> 
> Only patches in part1 branch are touching arch/arm/mach-omap2/ files.
> 
> omapfb is deprecated. It will not receive new features, only bug fixes. On 
> the.
> other hand omapdrm is in active development and the fact that both
> implementation (omapfb and omapdrm) is using the same header file
> (video/omapdss.h) makes implementing new features or doing bigger clean ups in
> omapdrm harder and hared as the change should not break omapfb.
> 
> To overcome this issue we need to separate the two implementation. This is the
> aim of this series:
> Create platform_data header for omapdss,
> clean up the header usage and dependencies,
> new header file for omapfb stack (video/omapfb_dss.h)
> local omapdss.h header file for omapdrm.
> 
> Regards,
> Peter
> ---
> Peter Ujfalusi (27):
>   ARM: OMAP: rx51-video: Do not set TV connector_type
>   ARM/video: omap2: Move omap_display_init declaration to
> mach-omap2/display.h
>   video/platform_data: omapdss: Create new header file for platform data
>   ARM: OMAP2: Use the platform_data header for omapdss
>   omapfb: panel-tpo-td028ttec1: Remove legacy boot support
>   omapfb: panel-nec-nl8048hl11: Remove legacy boot support
>   omapfb: panel-tpo-td043mtea1: Remove legacy boot support
>   omapfb: panel-sharp-ls037v7dw01: Remove legacy boot support
>   omapfb: panel-lgphilips-lb035q02: Remove legacy boot support
>   omapfb: panel-dsi-cm: Remove legacy boot support
>   omapfb: connector-hdmi: Remove legacy boot support
>   omapfb: connector-dvi: Remove legacy boot support
>   omapfb: encoder-tfp410: Remove legacy boot support
>   omapfb: encoder-tpd12s015: No need to include video/omap-panle-data.h
>   drm/omap: displays: Do not include video/omap-panel-data.h if not
> needed
>   omapdss: omap-panel-data.h: Remove struct omap_dss_device declaration
>   drm/omap: connector-analog-tv: Support only Composite type in legacy
> boot
>   omapfb: connector-analog-tv: Support only Composite type in legacy
> boot
>   omapdss: omap-panel-data.h: Remove connector_type from atv pdata
>   drm/omap: Remove reference to pdata->default_device
>   omapfb: Remove reference to pdata->default_device
>   platform_data: omapdss: Remove unused members from omap_dss_board_info
>   omapdss: hdmi audio: Make header file independent of video/omapdss.h
>   drm/omap: Do not include video/omapdss.h directly in drivers
>   omapfb: Create new header file for omapfb DSS implementation
>   [media] omap_vout: Switch to use the video/omapfb_dss.h header file
>   drm/omap: Remove the video/omapdss.h and move it's content to local
> header file
> 
>  arch/arm/mach-omap2/board-ldp.c|   3 +-
>  arch/arm/mach-omap2/board-rx51-video.c |   4 +-
>  arch/arm/mach-omap2/display.c  |   2 +-
>  arch/arm/mach-omap2/display.h  |   5 +
>  arch/arm/mach-omap2/dss-common.c   |   2 +-
>  .../gpu/drm/omapdrm/displays/connector-analog-tv.c |  11 +-
>  drivers/gpu/drm/omapdrm/displays/connector-dvi.c   |   4 +-
>  drivers/gpu/drm/omapdrm/displays/connector-hdmi.c  |   4 +-
>  drivers/gpu/drm/omapdrm/displays/encoder-opa362.c  |   2 +-
>  drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c  |   3 +-
>  .../gpu/drm/omapdrm/displays/encoder-tpd12s015.c   |   3 +-
>  drivers/gpu/drm/omapdrm/displays/panel-dpi.c   |   3 +-
>  drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c|   4 +-
>  .../omapdrm/displays/panel-lgphilips-lb035q02.c|   3 +-
>  .../drm/omapdrm/displays/panel-nec-nl8048hl11.c|   2 +-
>  .../drm/omapdrm/displays/panel-sharp-ls037v7dw01.c |   3 +-
>  .../drm/omapdrm/displays/panel-sony-acx565akm.c|   3 +-
>  .../drm/omapdrm/displays/panel-tpo-td028ttec1.c|   3 +-
>  .../drm/omapdrm/displays/panel-tpo-td043mtea1.c|   2 +-
>  

Re: [PATCH v3 00/27] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-06-03 Thread Peter Ujfalusi
Hi,

I can not believe this... My internet got disconnected during git
send-email... This is the second time that this happened.

Will resend the series.

On 06/03/16 13:52, Peter Ujfalusi wrote:
> Hi,
> 
> Changes since v2:
> - Collected the patches (4 of them) at the beginning which touches mach-omap2
> - Smaller changes in the moved patches to make sure they compile.
> 
> Changes since v1:
> - patches (2) added to remove the inclusion of video/omap-panel-data.h when it
>   is not needed
> - Transitional patch to create the video/omapfb_dss.h has been changed to copy
>   the content of the omapdss.h in one step.
> 
> I have prepared two branches on top of v4.7-rc1:
> [1] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part1
> 
> containing:
>   ARM: OMAP: rx51-video: Do not set TV connector_type
>   ARM/video: omap2: Move omap_display_init declaration to
> mach-omap2/display.h
>   video/platform_data: omapdss: Create new header file for platform data
>   ARM: OMAP2: Use the platform_data header for omapdss
> 
> [2] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part2
> 
> containing the whole set, including part1.
> 
> Only patches in part1 branch are touching arch/arm/mach-omap2/ files.
> 
> omapfb is deprecated. It will not receive new features, only bug fixes. On 
> the.
> other hand omapdrm is in active development and the fact that both
> implementation (omapfb and omapdrm) is using the same header file
> (video/omapdss.h) makes implementing new features or doing bigger clean ups in
> omapdrm harder and hared as the change should not break omapfb.
> 
> To overcome this issue we need to separate the two implementation. This is the
> aim of this series:
> Create platform_data header for omapdss,
> clean up the header usage and dependencies,
> new header file for omapfb stack (video/omapfb_dss.h)
> local omapdss.h header file for omapdrm.
> 
> Regards,
> Peter
> ---
> Peter Ujfalusi (27):
>   ARM: OMAP: rx51-video: Do not set TV connector_type
>   ARM/video: omap2: Move omap_display_init declaration to
> mach-omap2/display.h
>   video/platform_data: omapdss: Create new header file for platform data
>   ARM: OMAP2: Use the platform_data header for omapdss
>   omapfb: panel-tpo-td028ttec1: Remove legacy boot support
>   omapfb: panel-nec-nl8048hl11: Remove legacy boot support
>   omapfb: panel-tpo-td043mtea1: Remove legacy boot support
>   omapfb: panel-sharp-ls037v7dw01: Remove legacy boot support
>   omapfb: panel-lgphilips-lb035q02: Remove legacy boot support
>   omapfb: panel-dsi-cm: Remove legacy boot support
>   omapfb: connector-hdmi: Remove legacy boot support
>   omapfb: connector-dvi: Remove legacy boot support
>   omapfb: encoder-tfp410: Remove legacy boot support
>   omapfb: encoder-tpd12s015: No need to include video/omap-panle-data.h
>   drm/omap: displays: Do not include video/omap-panel-data.h if not
> needed
>   omapdss: omap-panel-data.h: Remove struct omap_dss_device declaration
>   drm/omap: connector-analog-tv: Support only Composite type in legacy
> boot
>   omapfb: connector-analog-tv: Support only Composite type in legacy
> boot
>   omapdss: omap-panel-data.h: Remove connector_type from atv pdata
>   drm/omap: Remove reference to pdata->default_device
>   omapfb: Remove reference to pdata->default_device
>   platform_data: omapdss: Remove unused members from omap_dss_board_info
>   omapdss: hdmi audio: Make header file independent of video/omapdss.h
>   drm/omap: Do not include video/omapdss.h directly in drivers
>   omapfb: Create new header file for omapfb DSS implementation
>   [media] omap_vout: Switch to use the video/omapfb_dss.h header file
>   drm/omap: Remove the video/omapdss.h and move it's content to local
> header file
> 
>  arch/arm/mach-omap2/board-ldp.c|   3 +-
>  arch/arm/mach-omap2/board-rx51-video.c |   4 +-
>  arch/arm/mach-omap2/display.c  |   2 +-
>  arch/arm/mach-omap2/display.h  |   5 +
>  arch/arm/mach-omap2/dss-common.c   |   2 +-
>  .../gpu/drm/omapdrm/displays/connector-analog-tv.c |  11 +-
>  drivers/gpu/drm/omapdrm/displays/connector-dvi.c   |   4 +-
>  drivers/gpu/drm/omapdrm/displays/connector-hdmi.c  |   4 +-
>  drivers/gpu/drm/omapdrm/displays/encoder-opa362.c  |   2 +-
>  drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c  |   3 +-
>  .../gpu/drm/omapdrm/displays/encoder-tpd12s015.c   |   3 +-
>  drivers/gpu/drm/omapdrm/displays/panel-dpi.c   |   3 +-
>  drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c|   4 +-
>  .../omapdrm/displays/panel-lgphilips-lb035q02.c|   3 +-
>  .../drm/omapdrm/displays/panel-nec-nl8048hl11.c|   2 +-
>  .../drm/omapdrm/displays/panel-sharp-ls037v7dw01.c |   3 +-
>  .../drm/omapdrm/displays/panel-sony-acx565akm.c|   3 +-
>  .../drm/omapdrm/displays/panel-tpo-td028ttec1.c|   3 +-
>  .../drm/omapdrm/displays/panel-tpo-td043mtea1.c|   2 +-
>  

[PATCH v3 00/27] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-06-03 Thread Peter Ujfalusi
Hi,

Changes since v2:
- Collected the patches (4 of them) at the beginning which touches mach-omap2
- Smaller changes in the moved patches to make sure they compile.

Changes since v1:
- patches (2) added to remove the inclusion of video/omap-panel-data.h when it
  is not needed
- Transitional patch to create the video/omapfb_dss.h has been changed to copy
  the content of the omapdss.h in one step.

I have prepared two branches on top of v4.7-rc1:
[1] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part1

containing:
  ARM: OMAP: rx51-video: Do not set TV connector_type
  ARM/video: omap2: Move omap_display_init declaration to
mach-omap2/display.h
  video/platform_data: omapdss: Create new header file for platform data
  ARM: OMAP2: Use the platform_data header for omapdss

[2] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part2

containing the whole set, including part1.

Only patches in part1 branch are touching arch/arm/mach-omap2/ files.

omapfb is deprecated. It will not receive new features, only bug fixes. On the.
other hand omapdrm is in active development and the fact that both
implementation (omapfb and omapdrm) is using the same header file
(video/omapdss.h) makes implementing new features or doing bigger clean ups in
omapdrm harder and hared as the change should not break omapfb.

To overcome this issue we need to separate the two implementation. This is the
aim of this series:
Create platform_data header for omapdss,
clean up the header usage and dependencies,
new header file for omapfb stack (video/omapfb_dss.h)
local omapdss.h header file for omapdrm.

Regards,
Peter
---
Peter Ujfalusi (27):
  ARM: OMAP: rx51-video: Do not set TV connector_type
  ARM/video: omap2: Move omap_display_init declaration to
mach-omap2/display.h
  video/platform_data: omapdss: Create new header file for platform data
  ARM: OMAP2: Use the platform_data header for omapdss
  omapfb: panel-tpo-td028ttec1: Remove legacy boot support
  omapfb: panel-nec-nl8048hl11: Remove legacy boot support
  omapfb: panel-tpo-td043mtea1: Remove legacy boot support
  omapfb: panel-sharp-ls037v7dw01: Remove legacy boot support
  omapfb: panel-lgphilips-lb035q02: Remove legacy boot support
  omapfb: panel-dsi-cm: Remove legacy boot support
  omapfb: connector-hdmi: Remove legacy boot support
  omapfb: connector-dvi: Remove legacy boot support
  omapfb: encoder-tfp410: Remove legacy boot support
  omapfb: encoder-tpd12s015: No need to include video/omap-panle-data.h
  drm/omap: displays: Do not include video/omap-panel-data.h if not
needed
  omapdss: omap-panel-data.h: Remove struct omap_dss_device declaration
  drm/omap: connector-analog-tv: Support only Composite type in legacy
boot
  omapfb: connector-analog-tv: Support only Composite type in legacy
boot
  omapdss: omap-panel-data.h: Remove connector_type from atv pdata
  drm/omap: Remove reference to pdata->default_device
  omapfb: Remove reference to pdata->default_device
  platform_data: omapdss: Remove unused members from omap_dss_board_info
  omapdss: hdmi audio: Make header file independent of video/omapdss.h
  drm/omap: Do not include video/omapdss.h directly in drivers
  omapfb: Create new header file for omapfb DSS implementation
  [media] omap_vout: Switch to use the video/omapfb_dss.h header file
  drm/omap: Remove the video/omapdss.h and move it's content to local
header file

 arch/arm/mach-omap2/board-ldp.c|   3 +-
 arch/arm/mach-omap2/board-rx51-video.c |   4 +-
 arch/arm/mach-omap2/display.c  |   2 +-
 arch/arm/mach-omap2/display.h  |   5 +
 arch/arm/mach-omap2/dss-common.c   |   2 +-
 .../gpu/drm/omapdrm/displays/connector-analog-tv.c |  11 +-
 drivers/gpu/drm/omapdrm/displays/connector-dvi.c   |   4 +-
 drivers/gpu/drm/omapdrm/displays/connector-hdmi.c  |   4 +-
 drivers/gpu/drm/omapdrm/displays/encoder-opa362.c  |   2 +-
 drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c  |   3 +-
 .../gpu/drm/omapdrm/displays/encoder-tpd12s015.c   |   3 +-
 drivers/gpu/drm/omapdrm/displays/panel-dpi.c   |   3 +-
 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c|   4 +-
 .../omapdrm/displays/panel-lgphilips-lb035q02.c|   3 +-
 .../drm/omapdrm/displays/panel-nec-nl8048hl11.c|   2 +-
 .../drm/omapdrm/displays/panel-sharp-ls037v7dw01.c |   3 +-
 .../drm/omapdrm/displays/panel-sony-acx565akm.c|   3 +-
 .../drm/omapdrm/displays/panel-tpo-td028ttec1.c|   3 +-
 .../drm/omapdrm/displays/panel-tpo-td043mtea1.c|   2 +-
 drivers/gpu/drm/omapdrm/dss/core.c |   5 +-
 drivers/gpu/drm/omapdrm/dss/dispc.c|   3 +-
 drivers/gpu/drm/omapdrm/dss/dispc_coefs.c  |   2 +-
 drivers/gpu/drm/omapdrm/dss/display.c  |   2 +-
 drivers/gpu/drm/omapdrm/dss/dpi.c  |   3 +-
 drivers/gpu/drm/omapdrm/dss/dsi.c  |   2 +-
 

[PATCH v3 00/27] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-06-03 Thread Peter Ujfalusi
Hi,

Changes since v2:
- Collected the patches (4 of them) at the beginning which touches mach-omap2
- Smaller changes in the moved patches to make sure they compile.

Changes since v1:
- patches (2) added to remove the inclusion of video/omap-panel-data.h when it
  is not needed
- Transitional patch to create the video/omapfb_dss.h has been changed to copy
  the content of the omapdss.h in one step.

I have prepared two branches on top of v4.7-rc1:
[1] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part1

containing:
  ARM: OMAP: rx51-video: Do not set TV connector_type
  ARM/video: omap2: Move omap_display_init declaration to
mach-omap2/display.h
  video/platform_data: omapdss: Create new header file for platform data
  ARM: OMAP2: Use the platform_data header for omapdss

[2] https://github.com/omap-audio/linux-audio.git peter/for-4.8_omapdss_part2

containing the whole set, including part1.

Only patches in part1 branch are touching arch/arm/mach-omap2/ files.

omapfb is deprecated. It will not receive new features, only bug fixes. On the.
other hand omapdrm is in active development and the fact that both
implementation (omapfb and omapdrm) is using the same header file
(video/omapdss.h) makes implementing new features or doing bigger clean ups in
omapdrm harder and hared as the change should not break omapfb.

To overcome this issue we need to separate the two implementation. This is the
aim of this series:
Create platform_data header for omapdss,
clean up the header usage and dependencies,
new header file for omapfb stack (video/omapfb_dss.h)
local omapdss.h header file for omapdrm.

Regards,
Peter
---
Peter Ujfalusi (27):
  ARM: OMAP: rx51-video: Do not set TV connector_type
  ARM/video: omap2: Move omap_display_init declaration to
mach-omap2/display.h
  video/platform_data: omapdss: Create new header file for platform data
  ARM: OMAP2: Use the platform_data header for omapdss
  omapfb: panel-tpo-td028ttec1: Remove legacy boot support
  omapfb: panel-nec-nl8048hl11: Remove legacy boot support
  omapfb: panel-tpo-td043mtea1: Remove legacy boot support
  omapfb: panel-sharp-ls037v7dw01: Remove legacy boot support
  omapfb: panel-lgphilips-lb035q02: Remove legacy boot support
  omapfb: panel-dsi-cm: Remove legacy boot support
  omapfb: connector-hdmi: Remove legacy boot support
  omapfb: connector-dvi: Remove legacy boot support
  omapfb: encoder-tfp410: Remove legacy boot support
  omapfb: encoder-tpd12s015: No need to include video/omap-panle-data.h
  drm/omap: displays: Do not include video/omap-panel-data.h if not
needed
  omapdss: omap-panel-data.h: Remove struct omap_dss_device declaration
  drm/omap: connector-analog-tv: Support only Composite type in legacy
boot
  omapfb: connector-analog-tv: Support only Composite type in legacy
boot
  omapdss: omap-panel-data.h: Remove connector_type from atv pdata
  drm/omap: Remove reference to pdata->default_device
  omapfb: Remove reference to pdata->default_device
  platform_data: omapdss: Remove unused members from omap_dss_board_info
  omapdss: hdmi audio: Make header file independent of video/omapdss.h
  drm/omap: Do not include video/omapdss.h directly in drivers
  omapfb: Create new header file for omapfb DSS implementation
  [media] omap_vout: Switch to use the video/omapfb_dss.h header file
  drm/omap: Remove the video/omapdss.h and move it's content to local
header file

 arch/arm/mach-omap2/board-ldp.c|   3 +-
 arch/arm/mach-omap2/board-rx51-video.c |   4 +-
 arch/arm/mach-omap2/display.c  |   2 +-
 arch/arm/mach-omap2/display.h  |   5 +
 arch/arm/mach-omap2/dss-common.c   |   2 +-
 .../gpu/drm/omapdrm/displays/connector-analog-tv.c |  11 +-
 drivers/gpu/drm/omapdrm/displays/connector-dvi.c   |   4 +-
 drivers/gpu/drm/omapdrm/displays/connector-hdmi.c  |   4 +-
 drivers/gpu/drm/omapdrm/displays/encoder-opa362.c  |   2 +-
 drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c  |   3 +-
 .../gpu/drm/omapdrm/displays/encoder-tpd12s015.c   |   3 +-
 drivers/gpu/drm/omapdrm/displays/panel-dpi.c   |   3 +-
 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c|   4 +-
 .../omapdrm/displays/panel-lgphilips-lb035q02.c|   3 +-
 .../drm/omapdrm/displays/panel-nec-nl8048hl11.c|   2 +-
 .../drm/omapdrm/displays/panel-sharp-ls037v7dw01.c |   3 +-
 .../drm/omapdrm/displays/panel-sony-acx565akm.c|   3 +-
 .../drm/omapdrm/displays/panel-tpo-td028ttec1.c|   3 +-
 .../drm/omapdrm/displays/panel-tpo-td043mtea1.c|   2 +-
 drivers/gpu/drm/omapdrm/dss/core.c |   5 +-
 drivers/gpu/drm/omapdrm/dss/dispc.c|   3 +-
 drivers/gpu/drm/omapdrm/dss/dispc_coefs.c  |   2 +-
 drivers/gpu/drm/omapdrm/dss/display.c  |   2 +-
 drivers/gpu/drm/omapdrm/dss/dpi.c  |   3 +-
 drivers/gpu/drm/omapdrm/dss/dsi.c  |   2 +-