diff options
author | Dave Airlie <airlied@redhat.com> | 2015-04-07 21:13:06 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-04-07 21:13:06 -0400 |
commit | 1ddd36eda1a577837826a8e465ab9d43b024d382 (patch) | |
tree | cf655491cf727e057a5448be043778991c3fd597 /include/drm | |
parent | 67a0375f5e27c1daa50554de7a01fdfa4a9ea0bf (diff) | |
parent | 535a65db484ff4e4654a037f2ea7e1ff21431b77 (diff) |
Merge tag 'drm/tegra/for-4.1-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next
drm/tegra: Changes for v4.1-rc1
Perhaps the most noteworthy change in this set is the implementation of
a hardware VBLANK counter using host1x syncpoints. The SOR registers can
now be dumped via debugfs, which can be useful while debugging. The IOVA
address space maintained by the driver can also be dumped via debugfs.
Other than than, these changes are mostly cleanup work, such as making
register names more consistent or removing unused code (that was left
over after the atomic mode-setting conversion). There's also a fix for
eDP that makes the driver cope with firmware that already initialized
the display (such as the firmware on the Tegra-based Chromebooks).
* tag 'drm/tegra/for-4.1-rc1' of git://anongit.freedesktop.org/tegra/linux:
drm/tegra: sor: Reset during initialization
drm/tegra: gem: Return 64-bit offset for mmap(2)
drm/tegra: hdmi: Name register fields consistently
drm/tegra: hdmi: Resets are synchronous
drm/tegra: dc: Document tegra_dc_state_setup_clock()
drm/tegra: dc: Remove unused callbacks
drm/tegra: dc: Remove unused function
drm/tegra: dc: Use base atomic state helpers
drm/atomic: Add helpers for state-subclassing drivers
drm/tegra: dc: Implement hardware VBLANK counter
gpu: host1x: Export host1x_syncpt_read()
drm/tegra: sor: Dump registers via debugfs
drm/tegra: sor: Registers are 32-bit
drm/tegra: Provide debugfs file for the IOVA space
drm/tegra: dc: Check for valid parent clock
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_atomic_helper.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/drm/drm_atomic_helper.h b/include/drm/drm_atomic_helper.h index 829280b56874..d665781eb542 100644 --- a/include/drm/drm_atomic_helper.h +++ b/include/drm/drm_atomic_helper.h | |||
@@ -87,20 +87,34 @@ void drm_atomic_helper_connector_dpms(struct drm_connector *connector, | |||
87 | 87 | ||
88 | /* default implementations for state handling */ | 88 | /* default implementations for state handling */ |
89 | void drm_atomic_helper_crtc_reset(struct drm_crtc *crtc); | 89 | void drm_atomic_helper_crtc_reset(struct drm_crtc *crtc); |
90 | void __drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc, | ||
91 | struct drm_crtc_state *state); | ||
90 | struct drm_crtc_state * | 92 | struct drm_crtc_state * |
91 | drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc); | 93 | drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc); |
94 | void __drm_atomic_helper_crtc_destroy_state(struct drm_crtc *crtc, | ||
95 | struct drm_crtc_state *state); | ||
92 | void drm_atomic_helper_crtc_destroy_state(struct drm_crtc *crtc, | 96 | void drm_atomic_helper_crtc_destroy_state(struct drm_crtc *crtc, |
93 | struct drm_crtc_state *state); | 97 | struct drm_crtc_state *state); |
94 | 98 | ||
95 | void drm_atomic_helper_plane_reset(struct drm_plane *plane); | 99 | void drm_atomic_helper_plane_reset(struct drm_plane *plane); |
100 | void __drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane, | ||
101 | struct drm_plane_state *state); | ||
96 | struct drm_plane_state * | 102 | struct drm_plane_state * |
97 | drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane); | 103 | drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane); |
104 | void __drm_atomic_helper_plane_destroy_state(struct drm_plane *plane, | ||
105 | struct drm_plane_state *state); | ||
98 | void drm_atomic_helper_plane_destroy_state(struct drm_plane *plane, | 106 | void drm_atomic_helper_plane_destroy_state(struct drm_plane *plane, |
99 | struct drm_plane_state *state); | 107 | struct drm_plane_state *state); |
100 | 108 | ||
101 | void drm_atomic_helper_connector_reset(struct drm_connector *connector); | 109 | void drm_atomic_helper_connector_reset(struct drm_connector *connector); |
110 | void | ||
111 | __drm_atomic_helper_connector_duplicate_state(struct drm_connector *connector, | ||
112 | struct drm_connector_state *state); | ||
102 | struct drm_connector_state * | 113 | struct drm_connector_state * |
103 | drm_atomic_helper_connector_duplicate_state(struct drm_connector *connector); | 114 | drm_atomic_helper_connector_duplicate_state(struct drm_connector *connector); |
115 | void | ||
116 | __drm_atomic_helper_connector_destroy_state(struct drm_connector *connector, | ||
117 | struct drm_connector_state *state); | ||
104 | void drm_atomic_helper_connector_destroy_state(struct drm_connector *connector, | 118 | void drm_atomic_helper_connector_destroy_state(struct drm_connector *connector, |
105 | struct drm_connector_state *state); | 119 | struct drm_connector_state *state); |
106 | 120 | ||