diff options
author | Dave Airlie <airlied@redhat.com> | 2014-06-02 05:55:04 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-06-02 05:55:04 -0400 |
commit | c4e8541269d72fdfd1ec1b988ed2588033fafc6a (patch) | |
tree | 763f5b18c722a97a8b4251daaa3fb363d1c56faa /Documentation/DocBook | |
parent | 182407a6ed5333fc37dd980a8de91a8f826a94f6 (diff) | |
parent | f83d6518a13020e3cf7abbcc6b4e6d34459d9a9f (diff) |
Merge tag 'drm-intel-next-2014-05-23' of git://anongit.freedesktop.org/drm-intel into drm-next
- prep refactoring for execlists (Oscar Mateo)
- corner-case fixes for runtime pm (Imre)
- tons of vblank improvements from Ville
- prep work for atomic plane/sprite updates (Ville)
- more chv code, now almost complete (tons of different people)
- refactoring and improvements for drm_irq.c merged through drm-intel-next
- g4x/ilk reset improvements (Ville)
- removal of encoder->mode_set
- moved audio state tracking into pipe_config
- shuffled fb pinning out of the platform crtc modeset callbacks into core code
- userptr support (Chris)
- OOM handling improvements from Chris, with now have a neat oom notifier which
jumps additional debug information.
- topdown allocation of ppgtt PDEs (Ben)
- fixes and small improvements all over
* tag 'drm-intel-next-2014-05-23' of git://anongit.freedesktop.org/drm-intel: (187 commits)
drm/i915: Kill private_default_ctx off
drm/i915: s/i915_hw_context/intel_context
drm/i915: Split the ringbuffers from the rings (3/3)
drm/i915: Split the ringbuffers from the rings (2/3)
drm/i915: Split the ringbuffers from the rings (1/3)
drm/i915: s/intel_ring_buffer/intel_engine_cs
drm/i915: disable GT power saving early during system suspend
drm/i915: fix possible RPM ref leaking during RPS disabling
drm/i915: remove user GTT mappings early during runtime suspend
drm/i915: Implement WaVcpClkGateDisableForMediaReset:ctg, elk
drm/i915: Fix gen2 and hsw+ scanline counter
drm/i915: Draw a picture about video timings
drm/i915: Improve gen3/4 frame counter
drm/i915: Add a small adjustment to the pixel counter on interlaced modes
drm/i915: Hold CRTC lock whilst freezing the planes
drm/i915: Only discard backing storage on releasing the last ref
drm/i915: Wait for pending page flips before enabling/disabling the primary plane
drm/i915: grab the audio power domain when enabling audio on HSW+
drm/i915: don't read HSW_AUD_PIN_ELD_CP_VLD when the power well is off
drm/i915: move bsd dispatch index somewhere better
...
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/drm.tmpl | 107 |
1 files changed, 100 insertions, 7 deletions
diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl index c1c9cf2a7b48..00f1c25e53df 100644 --- a/Documentation/DocBook/drm.tmpl +++ b/Documentation/DocBook/drm.tmpl | |||
@@ -3368,6 +3368,10 @@ void (*disable_vblank) (struct drm_device *dev, int crtc);</synopsis> | |||
3368 | with a call to <function>drm_vblank_cleanup</function> in the driver | 3368 | with a call to <function>drm_vblank_cleanup</function> in the driver |
3369 | <methodname>unload</methodname> operation handler. | 3369 | <methodname>unload</methodname> operation handler. |
3370 | </para> | 3370 | </para> |
3371 | <sect2> | ||
3372 | <title>Vertical Blanking and Interrupt Handling Functions Reference</title> | ||
3373 | !Edrivers/gpu/drm/drm_irq.c | ||
3374 | </sect2> | ||
3371 | </sect1> | 3375 | </sect1> |
3372 | 3376 | ||
3373 | <!-- Internals: open/close, file operations and ioctls --> | 3377 | <!-- Internals: open/close, file operations and ioctls --> |
@@ -3710,17 +3714,16 @@ int num_ioctls;</synopsis> | |||
3710 | <term>DRM_IOCTL_MODESET_CTL</term> | 3714 | <term>DRM_IOCTL_MODESET_CTL</term> |
3711 | <listitem> | 3715 | <listitem> |
3712 | <para> | 3716 | <para> |
3713 | This should be called by application level drivers before and | 3717 | This was only used for user-mode-settind drivers around |
3714 | after mode setting, since on many devices the vertical blank | 3718 | modesetting changes to allow the kernel to update the vblank |
3715 | counter is reset at that time. Internally, the DRM snapshots | 3719 | interrupt after mode setting, since on many devices the vertical |
3716 | the last vblank count when the ioctl is called with the | 3720 | blank counter is reset to 0 at some point during modeset. Modern |
3717 | _DRM_PRE_MODESET command, so that the counter won't go backwards | 3721 | drivers should not call this any more since with kernel mode |
3718 | (which is dealt with when _DRM_POST_MODESET is used). | 3722 | setting it is a no-op. |
3719 | </para> | 3723 | </para> |
3720 | </listitem> | 3724 | </listitem> |
3721 | </varlistentry> | 3725 | </varlistentry> |
3722 | </variablelist> | 3726 | </variablelist> |
3723 | <!--!Edrivers/char/drm/drm_irq.c--> | ||
3724 | </para> | 3727 | </para> |
3725 | </sect1> | 3728 | </sect1> |
3726 | 3729 | ||
@@ -3783,6 +3786,96 @@ int num_ioctls;</synopsis> | |||
3783 | probing, so those sections fully apply. | 3786 | probing, so those sections fully apply. |
3784 | </para> | 3787 | </para> |
3785 | </sect2> | 3788 | </sect2> |
3789 | <sect2> | ||
3790 | <title>DPIO</title> | ||
3791 | !Pdrivers/gpu/drm/i915/i915_reg.h DPIO | ||
3792 | <table id="dpiox2"> | ||
3793 | <title>Dual channel PHY (VLV/CHV)</title> | ||
3794 | <tgroup cols="8"> | ||
3795 | <colspec colname="c0" /> | ||
3796 | <colspec colname="c1" /> | ||
3797 | <colspec colname="c2" /> | ||
3798 | <colspec colname="c3" /> | ||
3799 | <colspec colname="c4" /> | ||
3800 | <colspec colname="c5" /> | ||
3801 | <colspec colname="c6" /> | ||
3802 | <colspec colname="c7" /> | ||
3803 | <spanspec spanname="ch0" namest="c0" nameend="c3" /> | ||
3804 | <spanspec spanname="ch1" namest="c4" nameend="c7" /> | ||
3805 | <spanspec spanname="ch0pcs01" namest="c0" nameend="c1" /> | ||
3806 | <spanspec spanname="ch0pcs23" namest="c2" nameend="c3" /> | ||
3807 | <spanspec spanname="ch1pcs01" namest="c4" nameend="c5" /> | ||
3808 | <spanspec spanname="ch1pcs23" namest="c6" nameend="c7" /> | ||
3809 | <thead> | ||
3810 | <row> | ||
3811 | <entry spanname="ch0">CH0</entry> | ||
3812 | <entry spanname="ch1">CH1</entry> | ||
3813 | </row> | ||
3814 | </thead> | ||
3815 | <tbody valign="top" align="center"> | ||
3816 | <row> | ||
3817 | <entry spanname="ch0">CMN/PLL/REF</entry> | ||
3818 | <entry spanname="ch1">CMN/PLL/REF</entry> | ||
3819 | </row> | ||
3820 | <row> | ||
3821 | <entry spanname="ch0pcs01">PCS01</entry> | ||
3822 | <entry spanname="ch0pcs23">PCS23</entry> | ||
3823 | <entry spanname="ch1pcs01">PCS01</entry> | ||
3824 | <entry spanname="ch1pcs23">PCS23</entry> | ||
3825 | </row> | ||
3826 | <row> | ||
3827 | <entry>TX0</entry> | ||
3828 | <entry>TX1</entry> | ||
3829 | <entry>TX2</entry> | ||
3830 | <entry>TX3</entry> | ||
3831 | <entry>TX0</entry> | ||
3832 | <entry>TX1</entry> | ||
3833 | <entry>TX2</entry> | ||
3834 | <entry>TX3</entry> | ||
3835 | </row> | ||
3836 | <row> | ||
3837 | <entry spanname="ch0">DDI0</entry> | ||
3838 | <entry spanname="ch1">DDI1</entry> | ||
3839 | </row> | ||
3840 | </tbody> | ||
3841 | </tgroup> | ||
3842 | </table> | ||
3843 | <table id="dpiox1"> | ||
3844 | <title>Single channel PHY (CHV)</title> | ||
3845 | <tgroup cols="4"> | ||
3846 | <colspec colname="c0" /> | ||
3847 | <colspec colname="c1" /> | ||
3848 | <colspec colname="c2" /> | ||
3849 | <colspec colname="c3" /> | ||
3850 | <spanspec spanname="ch0" namest="c0" nameend="c3" /> | ||
3851 | <spanspec spanname="ch0pcs01" namest="c0" nameend="c1" /> | ||
3852 | <spanspec spanname="ch0pcs23" namest="c2" nameend="c3" /> | ||
3853 | <thead> | ||
3854 | <row> | ||
3855 | <entry spanname="ch0">CH0</entry> | ||
3856 | </row> | ||
3857 | </thead> | ||
3858 | <tbody valign="top" align="center"> | ||
3859 | <row> | ||
3860 | <entry spanname="ch0">CMN/PLL/REF</entry> | ||
3861 | </row> | ||
3862 | <row> | ||
3863 | <entry spanname="ch0pcs01">PCS01</entry> | ||
3864 | <entry spanname="ch0pcs23">PCS23</entry> | ||
3865 | </row> | ||
3866 | <row> | ||
3867 | <entry>TX0</entry> | ||
3868 | <entry>TX1</entry> | ||
3869 | <entry>TX2</entry> | ||
3870 | <entry>TX3</entry> | ||
3871 | </row> | ||
3872 | <row> | ||
3873 | <entry spanname="ch0">DDI2</entry> | ||
3874 | </row> | ||
3875 | </tbody> | ||
3876 | </tgroup> | ||
3877 | </table> | ||
3878 | </sect2> | ||
3786 | </sect1> | 3879 | </sect1> |
3787 | 3880 | ||
3788 | <sect1> | 3881 | <sect1> |