]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch '2016-02-26-st-drm-next' of http://git.linaro.org/people/benjamin.gaigna...
authorDave Airlie <airlied@redhat.com>
Wed, 16 Mar 2016 22:27:51 +0000 (08:27 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 16 Mar 2016 22:27:51 +0000 (08:27 +1000)
Here are sti patches for drm-next.
It brings:
  - The support of the atomic_check for the planes and minor fixes for
planes
  - The support of the vendor specific infoframe for HDMI and the
support of 2 HDMI properties related to the connector
  - The support of the DVO solving panel detection issue and timing issue.
  - The support of debugfs for connectors, encoders, crtcs and planes.

* '2016-02-26-st-drm-next' of http://git.linaro.org/people/benjamin.gaignard/kernel: (36 commits)
  drm/sti: use u32 to store DMA addresses
  drm: sti: remove sti_gem_prime_export hack
  drm/sti: add debugfs fps_show/fps_get mechanism for planes
  drm/sti: add debugfs entries for TVOUT encoders
  drm/sti: add debugfs entries for MIXER crtc
  drm/sti: add debugfs entries for VID plane
  drm/sti: add debugfs entries for HQVDP plane
  drm/sti: add debugfs entries for GDP planes
  drm/sti: add debugfs entries for CURSOR plane
  drm/sti: add debugfs entries for HDA connector
  drm/sti: add debugfs entries for DVO connector
  drm/sti: add debugfs entries for HDMI connector
  drm/sti: add hdmi_mode property for HDMI connector
  drm/sti: add colorspace property to the HDMI connector
  drm/sti: add HDMI vendor specific infoframe
  drm/sti: reset infoframe transmission when HDMI is stopped
  drm/sti: HDMI infoframe transmission mode not take into account
  drm/sti: reset HD DACS when HDA connector is created
  drm/sti: fix dvo data_enable signal
  drm/sti: adjust delay for DVO
  ...

1  2 
drivers/gpu/drm/sti/sti_crtc.c

index e04deedabd4a143f6bbeaec220bfa747d6ffdb95,505620c7c2c8fbde2afd79295ecb36231496e64e..fa47f63b5316d5cd52ee3f6d7d713639ef18bc9e
@@@ -51,6 -51,15 +51,15 @@@ static void sti_crtc_disabling(struct d
        mixer->status = STI_MIXER_DISABLING;
  }
  
+ static bool sti_crtc_mode_fixup(struct drm_crtc *crtc,
+                               const struct drm_display_mode *mode,
+                               struct drm_display_mode *adjusted_mode)
+ {
+       /* accept the provided drm_display_mode, do not fix it up */
+       drm_mode_set_crtcinfo(adjusted_mode, CRTC_INTERLACE_HALVE_V);
+       return true;
+ }
  static int
  sti_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode)
  {
@@@ -221,6 -230,7 +230,6 @@@ static void sti_crtc_atomic_flush(struc
  static const struct drm_crtc_helper_funcs sti_crtc_helper_funcs = {
        .enable = sti_crtc_enable,
        .disable = sti_crtc_disabling,
 -      .mode_fixup = sti_crtc_mode_fixup,
        .mode_set = drm_helper_crtc_mode_set,
        .mode_set_nofb = sti_crtc_mode_set_nofb,
        .mode_set_base = drm_helper_crtc_mode_set_base,