aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-04-07 21:13:06 -0400
committerDave Airlie <airlied@redhat.com>2015-04-07 21:13:06 -0400
commit1ddd36eda1a577837826a8e465ab9d43b024d382 (patch)
treecf655491cf727e057a5448be043778991c3fd597 /include/drm
parent67a0375f5e27c1daa50554de7a01fdfa4a9ea0bf (diff)
parent535a65db484ff4e4654a037f2ea7e1ff21431b77 (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.h14
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 */
89void drm_atomic_helper_crtc_reset(struct drm_crtc *crtc); 89void drm_atomic_helper_crtc_reset(struct drm_crtc *crtc);
90void __drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc,
91 struct drm_crtc_state *state);
90struct drm_crtc_state * 92struct drm_crtc_state *
91drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc); 93drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc);
94void __drm_atomic_helper_crtc_destroy_state(struct drm_crtc *crtc,
95 struct drm_crtc_state *state);
92void drm_atomic_helper_crtc_destroy_state(struct drm_crtc *crtc, 96void drm_atomic_helper_crtc_destroy_state(struct drm_crtc *crtc,
93 struct drm_crtc_state *state); 97 struct drm_crtc_state *state);
94 98
95void drm_atomic_helper_plane_reset(struct drm_plane *plane); 99void drm_atomic_helper_plane_reset(struct drm_plane *plane);
100void __drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane,
101 struct drm_plane_state *state);
96struct drm_plane_state * 102struct drm_plane_state *
97drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane); 103drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane);
104void __drm_atomic_helper_plane_destroy_state(struct drm_plane *plane,
105 struct drm_plane_state *state);
98void drm_atomic_helper_plane_destroy_state(struct drm_plane *plane, 106void drm_atomic_helper_plane_destroy_state(struct drm_plane *plane,
99 struct drm_plane_state *state); 107 struct drm_plane_state *state);
100 108
101void drm_atomic_helper_connector_reset(struct drm_connector *connector); 109void drm_atomic_helper_connector_reset(struct drm_connector *connector);
110void
111__drm_atomic_helper_connector_duplicate_state(struct drm_connector *connector,
112 struct drm_connector_state *state);
102struct drm_connector_state * 113struct drm_connector_state *
103drm_atomic_helper_connector_duplicate_state(struct drm_connector *connector); 114drm_atomic_helper_connector_duplicate_state(struct drm_connector *connector);
115void
116__drm_atomic_helper_connector_destroy_state(struct drm_connector *connector,
117 struct drm_connector_state *state);
104void drm_atomic_helper_connector_destroy_state(struct drm_connector *connector, 118void drm_atomic_helper_connector_destroy_state(struct drm_connector *connector,
105 struct drm_connector_state *state); 119 struct drm_connector_state *state);
106 120