Skip to contentSkip to conversation

drm/tegra: Changes for v3.20-rc1

GIT PULL Thierry Reding 2 participants 2 messages Jan 23, 2015 – Jan 26, 2015 1 message not in the archive Tegra architecture support

lore
Share & tools
lore
#0 lore raw

Hi Dave,

The following changes since commit 281d1bbd34b734e4f22b30b6f3b673dda46a7470:

Merge remote-tracking branch 'origin/master' into drm-next (2015-01-22 10:44:41 +1000)

are available in the git repository at:

git://anongit.freedesktop.org/tegra/linux tags/drm/tegra/for-3.20-rc1

for you to fetch changes up to 28dd241d37bd136e140c884897f64b79bf8d7a83:

drm/tegra: Use correct relocation target offsets (2015-01-23 12:17:04 +0100)

Thanks,
Thierry

----------------------------------------------------------------
drm/tegra: Changes for v3.20-rc1

The biggest part of these changes is the conversion to atomic mode- setting. A lot of cleanup and demidlayering was required before the conversion, with the result being a whole lot of changes.

Besides the atomic mode-setting support, the host1x bus now has the proper infrastructure to support suspend/resume for child devices.

Finally, a couple of smaller cleanup patches round things off.

----------------------------------------------------------------
Dan Carpenter (3):
drm/tegra: Check for NULL pointer instead of IS_ERR() drm/tegra: dc: Fix bad irqsave/restore in tegra_dc_finish_page_flip() drm/tegra: gem: oops in error handling

David Ung (2):
drm/tegra: dsi: Adjust D-PHY timing drm/tegra: Use correct relocation target offsets

Thierry Reding (49):
gpu: host1x: Call ->remove() only when a device is bound
gpu: host1x: Call host1x_device_add() under lock
gpu: host1x: Factor out __host1x_device_del()
gpu: host1x: Provide a proper struct bus_type drm/tegra: gem: Use iommu_map_sg()
drm/tegra: Remove redundant zeroing out of memory drm/tegra: plane: Use proper possible_crtcs mask drm/tegra: dc: Initialize border color drm/tegra: dc: Describe register copies drm/tegra: dc: Return planar flag for non-YUV modes drm/tegra: hdmi: Registers are 32-bit drm/tegra: dsi: Registers are 32-bit drm/tegra: dsi: Soft-reset controller on ->disable drm/tegra: dsi: Reset across ->exit()/->init() drm/plane: Make ->atomic_update() mandatory drm/plane: Add optional ->atomic_disable() callback drm/atomic: Add ->atomic_check() to encoder helpers drm/tegra: Use tegra_commit_dc() in output drivers drm/tegra: Stop CRTC at CRTC disable time drm/tegra: dc: Wait for idle when disabled drm/tegra: Move tegra_drm_mode_funcs to the core drm/tegra: dc: No longer disable planes at CRTC disable drm/tegra: Convert output midlayer to helpers drm/tegra: output: Make ->setup_clock() optional drm/tegra: Add tegra_dc_setup_clock() helper drm/tegra: rgb: Demidlayer
drm/tegra: hdmi: Demidlayer
drm/tegra: dsi: Demidlayer
drm/tegra: sor: Demidlayer
drm/tegra: debugfs cleanup cannot fail drm/tegra: Remove remnants of the output midlayer drm/tegra: Output cleanup functions cannot fail drm/tegra: dc: Do not needlessly deassert reset drm/tegra: Atomic conversion, phase 1 drm/tegra: Atomic conversion, phase 2 drm/tegra: Atomic conversion, phase 3, step 1 drm/tegra: dc: Store clock setup in atomic state drm/tegra: rgb: Implement ->atomic_check() drm/tegra: dsi: Implement ->atomic_check() drm/tegra: hdmi: Implement ->atomic_check() drm/tegra: sor: Implement ->atomic_check() drm/tegra: dc: Use atomic clock state in modeset drm/tegra: Atomic conversion, phase 3, step 2 drm/tegra: Atomic conversion, phase 3, step 3 drm/tegra: Remove unused ->mode_fixup() callbacks drm/tegra: Track active planes in CRTC state drm/tegra: Track tiling and format in plane state drm/tegra: dc: Unify enabling the display controller drm/tegra: Add minimal power management

 drivers/gpu/drm/drm_atomic_helper.c |   34 +-
 drivers/gpu/drm/drm_plane_helper.c  |   10 +-
 drivers/gpu/drm/tegra/dc.c          |  955 ++++++++++++++++++------------
 drivers/gpu/drm/tegra/drm.c         |  140 ++++-
 drivers/gpu/drm/tegra/drm.h         |   91 +--
 drivers/gpu/drm/tegra/dsi.c         |  578 ++++++++++--------
 drivers/gpu/drm/tegra/fb.c          |   25 +-
 drivers/gpu/drm/tegra/gem.c         |   39 +-
 drivers/gpu/drm/tegra/hdmi.c        |  327 +++++------
 drivers/gpu/drm/tegra/mipi-phy.c    |   25 +-
 drivers/gpu/drm/tegra/output.c      |  168 +-----
 drivers/gpu/drm/tegra/rgb.c         |  218 +++----
 drivers/gpu/drm/tegra/sor.c         | 1105 ++++++++++++++++++-----------------
 drivers/gpu/host1x/Makefile         |    3 +-
 drivers/gpu/host1x/bus.c            |  199 ++++---
 drivers/gpu/host1x/bus.h            |    3 -
 drivers/gpu/host1x/dev.c            |    9 +-
 include/drm/drm_atomic_helper.h     |   37 ++
 include/drm/drm_crtc_helper.h       |    6 +
 include/drm/drm_plane_helper.h      |    5 +-
 include/linux/host1x.h              |   18 +-
 21 files changed, 2187 insertions(+), 1808 deletions(-)

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

A message that is not in the archive (sent off-list or not yet received): 1422021383-4284-1-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw
Quoted 6 lines · Thierry Reding

Hi Dave,

The following changes since commit 281d1bbd34b734e4f22b30b6f3b673dda46a7470:

Merge remote-tracking branch 'origin/master' into drm-next (2015-01-22 10:44:41 +1000)

Quoted 7 lines

are available in the git repository at:

git://anongit.freedesktop.org/tegra/linux tags/drm/tegra/for-3.20-rc1

for you to fetch changes up to 28dd241d37bd136e140c884897f64b79bf8d7a83:

drm/tegra: Use correct relocation target offsets (2015-01-23 12:17:04 +0100)

MODPOST 1728 modules
ERROR: "host1x_unregister" [drivers/gpu/host1x/host1x.ko] undefined!
ERROR: "host1x_register" [drivers/gpu/host1x/host1x.ko] undefined!
ERROR: "host1x_driver_register_full" [drivers/gpu/drm/tegra/tegra-drm.ko] undefined!
ERROR: "host1x_device_exit" [drivers/gpu/drm/tegra/tegra-drm.ko] undefined!
ERROR: "host1x_client_unregister" [drivers/gpu/drm/tegra/tegra-drm.ko] undefined!
ERROR: "host1x_driver_unregister" [drivers/gpu/drm/tegra/tegra-drm.ko] undefined!
ERROR: "host1x_device_init" [drivers/gpu/drm/tegra/tegra-drm.ko] undefined!
ERROR: "host1x_client_register" [drivers/gpu/drm/tegra/tegra-drm.ko] undefined!

you win the broke my build prize.

Please try again :-)

just put the fix on top of this and send a new pull req, it looks trivial.

Dave.