drm/ticdc: Accumulated fixes over the past couple of years

Submitted by Jyri Sarha on Feb. 16, 2016, 2:18 p.m.

Details

Reviewer None
Submitted Feb. 16, 2016, 2:18 p.m.
Last Updated Feb. 23, 2016, 3:04 p.m.
Revision 2

Cover Letter(s)

Revision 1
      Changes since the first version of the series:
- Dropped: "drm/tilcdc: disable console switching during pm operations"
- Changed: "drm/tilcdc: Allocate register storage based on the actual number.."
  - Reversed kcalloc() nmemb and size parameters to correct order
- Addeed: "drm/tilcdc: Initialize crtc->port"

We have not been too active in pushing the tilcdc fixes to
mainline. This series tries to bring the mainline tilcdc upto same
level with TI ti-linux tree.

Some patches that touch the same place over and over again have been
squashed into one, leaving author of the last rewrite on top.

Best regards,
Jyri

Darren Etheridge (4):
  drm/tilcdc: rewrite pixel clock calculation
  drm/tilcdc: fix kernel panic on suspend when no hdmi monitor connected
  drm/tilcdc: make frame_done interrupt active at all times
  drm/tilcdc: disable the lcd controller/dma engine when suspend invoked

Dave Gerlach (1):
  drm/tilcdc: adopt pinctrl support

Grygorii Strashko (1):
  drm/tilcdc: fix build error when !CONFIG_CPU_FREQ

Jyri Sarha (7):
  drm/tilcdc: Implement dma-buf support for tilcdc
  drm/tilcdc: Allocate register storage based on the actual number
    registers
  drm/tilcdc: Fix interrupt enable/disable code for version 2 tilcdc
  drm/tilcdc: Remove the duplicate LCDC_INT_ENABLE_SET_REG in
    registers[]
  drm/tilcdc: Add prints on sync lost and FIFO underrun interrupts
  drm/tilcdc: Disable sync lost interrupt if it fires on every frame
  drm/tilcdc: Initialize crtc->port

Tomi Valkeinen (8):
  drm/tilcdc: verify fb pitch
  drm/tilcdc: cleanup runtime PM handling
  drm/tilcdc: disable crtc on unload
  drm/tilcdc: split reset to a separate function
  drm/tilcdc: remove broken error handling
  drm/tilcdc: cleanup irq handling
  drm/tilcdc: Get rid of complex ping-pong mechanism
  drm/tilcdc: Do not update the next frame buffer close to vertical
    blank

 drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 303 +++++++++++++++++++++++------------
 drivers/gpu/drm/tilcdc/tilcdc_drv.c  | 123 ++++++++------
 drivers/gpu/drm/tilcdc/tilcdc_drv.h  |   5 +-
 3 files changed, 277 insertions(+), 154 deletions(-)
    
Revision 2
      One more round to fix the last issues commented by Tomi Valkeinen. 
Changes since v2:
- 09/22 "drm/tilcdc: Allocate register storage based on the actual number
  		     registers"
  - Fixed typo in the description

- 21/22 "drm/tilcdc: Initialize crtc->port"
  - Changed the code to handle a port-node that is put in side a ports-node
  - Removed dev_warn(), and use WARN_ON() instead
  - Added more details in description

- 22/22 "Use devm_kzalloc() and devm_kcalloc() for private data"
  - New patch

Changes since the first version of the series:
- Dropped: "drm/tilcdc: disable console switching during pm operations"
- Changed: "drm/tilcdc: Allocate register storage based on the actual number.."
  - Reversed kcalloc() nmemb and size parameters to correct order
- Added: "drm/tilcdc: Initialize crtc->port"

We have not been too active in pushing the tilcdc fixes to
mainline. This series tries to bring the mainline tilcdc upto same
level with TI ti-linux tree.

Some patches that touch the same place over and over again have been
squashed into one, leaving author of the last rewrite on top.

Best regards,
Jyri

Darren Etheridge (4):
  drm/tilcdc: rewrite pixel clock calculation
  drm/tilcdc: fix kernel panic on suspend when no hdmi monitor connected
  drm/tilcdc: make frame_done interrupt active at all times
  drm/tilcdc: disable the lcd controller/dma engine when suspend invoked

Dave Gerlach (1):
  drm/tilcdc: adopt pinctrl support

Grygorii Strashko (1):
  drm/tilcdc: fix build error when !CONFIG_CPU_FREQ

Jyri Sarha (8):
  drm/tilcdc: Implement dma-buf support for tilcdc
  drm/tilcdc: Allocate register storage based on the actual number
    registers
  drm/tilcdc: Fix interrupt enable/disable code for version 2 tilcdc
  drm/tilcdc: Remove the duplicate LCDC_INT_ENABLE_SET_REG in
    registers[]
  drm/tilcdc: Add prints on sync lost and FIFO underrun interrupts
  drm/tilcdc: Disable sync lost interrupt if it fires on every frame
  drm/tilcdc: Initialize crtc->port
  drm/tilcdc: Use devm_kzalloc() and devm_kcalloc() for private data

Tomi Valkeinen (8):
  drm/tilcdc: verify fb pitch
  drm/tilcdc: cleanup runtime PM handling
  drm/tilcdc: disable crtc on unload
  drm/tilcdc: split reset to a separate function
  drm/tilcdc: remove broken error handling
  drm/tilcdc: cleanup irq handling
  drm/tilcdc: Get rid of complex ping-pong mechanism
  drm/tilcdc: Do not update the next frame buffer close to vertical
    blank

 drivers/gpu/drm/tilcdc/tilcdc_crtc.c   | 309 ++++++++++++++++++++++-----------
 drivers/gpu/drm/tilcdc/tilcdc_drv.c    | 130 ++++++++------
 drivers/gpu/drm/tilcdc/tilcdc_drv.h    |   5 +-
 drivers/gpu/drm/tilcdc/tilcdc_panel.c  |  20 +--
 drivers/gpu/drm/tilcdc/tilcdc_tfp410.c |  24 +--
 5 files changed, 296 insertions(+), 192 deletions(-)
    

Revisions

Patches download mbox

# Name Submitter State A F R T
[v2,01/21] drm/tilcdc: rewrite pixel clock calculation Jyri Sarha Accepted
[v2,02/21] drm/tilcdc: verify fb pitch Jyri Sarha Accepted
[v2,03/21] drm/tilcdc: adopt pinctrl support Jyri Sarha Accepted
[v2,04/21] drm/tilcdc: fix kernel panic on suspend when no hdmi monitor connected Jyri Sarha Accepted 1 1
[v2,05/21] drm/tilcdc: make frame_done interrupt active at all times Jyri Sarha Accepted 1
[v2,06/21] drm/tilcdc: disable the lcd controller/dma engine when suspend invoked Jyri Sarha Accepted 1
[v2,07/21] drm/tilcdc: Implement dma-buf support for tilcdc Jyri Sarha New
[v2,08/21] drm/tilcdc: fix build error when !CONFIG_CPU_FREQ Jyri Sarha Accepted
[v2,09/21] drm/tilcdc: Allocate register storage based on the actual number registers Jyri Sarha Accepted
[v2,10/21] drm/tilcdc: cleanup runtime PM handling Jyri Sarha Accepted
[v2,11/21] drm/tilcdc: disable crtc on unload Jyri Sarha Accepted
[v2,12/21] drm/tilcdc: split reset to a separate function Jyri Sarha Accepted
[v2,13/21] drm/tilcdc: remove broken error handling Jyri Sarha Accepted
[v2,14/21] drm/tilcdc: cleanup irq handling Jyri Sarha Accepted
[v2,15/21] drm/tilcdc: Get rid of complex ping-pong mechanism Jyri Sarha New
[v2,16/21] drm/tilcdc: Do not update the next frame buffer close to vertical blank Jyri Sarha New
[v2,17/21] drm/tilcdc: Fix interrupt enable/disable code for version 2 tilcdc Jyri Sarha Accepted
[v2,18/21] drm/tilcdc: Remove the duplicate LCDC_INT_ENABLE_SET_REG in registers[] Jyri Sarha Accepted
[v2,19/21] drm/tilcdc: Add prints on sync lost and FIFO underrun interrupts Jyri Sarha Accepted
[v2,20/21] drm/tilcdc: Disable sync lost interrupt if it fires on every frame Jyri Sarha Accepted
[v2,21/21] drm/tilcdc: Initialize crtc->port Jyri Sarha New

Patches download mbox

# Name Submitter State A F R T
[v3,01/22] drm/tilcdc: rewrite pixel clock calculation Jyri Sarha New
[v3,02/22] drm/tilcdc: verify fb pitch Jyri Sarha New
[v3,03/22] drm/tilcdc: adopt pinctrl support Jyri Sarha New
[v3,04/22] drm/tilcdc: fix kernel panic on suspend when no hdmi monitor connected Jyri Sarha New 1 1
[v3,05/22] drm/tilcdc: make frame_done interrupt active at all times Jyri Sarha New 1
[v3,06/22] drm/tilcdc: disable the lcd controller/dma engine when suspend invoked Jyri Sarha New 1
[v3,07/22] drm/tilcdc: Implement dma-buf support for tilcdc Jyri Sarha Accepted
[v3,08/22] drm/tilcdc: fix build error when !CONFIG_CPU_FREQ Jyri Sarha New
[v3,09/22] drm/tilcdc: Allocate register storage based on the actual number registers Jyri Sarha New
[v3,10/22] drm/tilcdc: cleanup runtime PM handling Jyri Sarha New
[v3,11/22] drm/tilcdc: disable crtc on unload Jyri Sarha New
[v3,12/22] drm/tilcdc: split reset to a separate function Jyri Sarha New
[v3,13/22] drm/tilcdc: remove broken error handling Jyri Sarha New
[v3,14/22] drm/tilcdc: cleanup irq handling Jyri Sarha New
[v3,15/22] drm/tilcdc: Get rid of complex ping-pong mechanism Jyri Sarha Accepted
[v3,16/22] drm/tilcdc: Do not update the next frame buffer close to vertical blank Jyri Sarha Accepted
[v3,17/22] drm/tilcdc: Fix interrupt enable/disable code for version 2 tilcdc Jyri Sarha New
[v3,18/22] drm/tilcdc: Remove the duplicate LCDC_INT_ENABLE_SET_REG in registers[] Jyri Sarha New
[v3,19/22] drm/tilcdc: Add prints on sync lost and FIFO underrun interrupts Jyri Sarha New
[v3,20/22] drm/tilcdc: Disable sync lost interrupt if it fires on every frame Jyri Sarha New
[v3,21/22] drm/tilcdc: Initialize crtc->port Jyri Sarha New
[v3,22/22] drm/tilcdc: Use devm_kzalloc() and devm_kcalloc() for private data Jyri Sarha Accepted