1. 13 3月, 2014 8 次提交
  2. 14 1月, 2014 1 次提交
  3. 23 10月, 2013 1 次提交
    • M
      drm: copy mode type in drm_mode_connector_list_update() · 3fbd6439
      Marc-André Lureau 提交于
      In commit 38d5487d, Keith explained:
          This patch simply merges the two mode type bits together; that seems
          reasonable to me, but perhaps only a subset of the bits should be
          used? None of these can be user defined as they all come from
          looking at just the hardware.
      
      However, merging the bits means that a flag becomes sticky. It is not
      possible, for example to update the mode type to remove the
      DRM_MODE_TYPE_PREFERRED bit.
      
      After a brief discussion with Dave Airlie on irc, it was agreed to
      propose that change, instead of introducing another function to remove a
      bit from exisiting modes type.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      3fbd6439
  4. 01 10月, 2013 3 次提交
  5. 21 8月, 2013 1 次提交
  6. 19 8月, 2013 1 次提交
  7. 11 6月, 2013 2 次提交
  8. 03 6月, 2013 1 次提交
  9. 10 5月, 2013 1 次提交
  10. 26 4月, 2013 1 次提交
  11. 12 3月, 2013 2 次提交
    • T
      videomode: combine videomode dmt_flags and data_flags · 06a33079
      Tomi Valkeinen 提交于
      Both videomode and display_timing contain flags describing the modes.
      These are stored in dmt_flags and data_flags. There's no need to
      separate these flags, and having separate fields just makes the flags
      more difficult to use.
      
      This patch combines the fields and renames VESA_DMT_* flags to
      DISPLAY_FLAGS_*.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
      06a33079
    • T
      videomode: simplify videomode Kconfig and Makefile · a38884f6
      Tomi Valkeinen 提交于
      This patch simplifies videomode related Kconfig and Makefile. After this
      patch, there's only one non-user selectable Kconfig option left,
      VIDEOMODE_HELPERS. The reasons for the change:
      
      * Videomode helper functions are not something that should be shown in
        the kernel configuration options. The related code should just be
        included if it's needed, i.e. selected by drivers using videomode.
      
      * There's no need to have separate Kconfig options for videomode and
        display_timing. First of all, the amount of code for both is quite
        small. Second, videomode depends on display_timing, and display_timing
        in itself is not really useful, so both would be included in any case.
      
      * CONFIG_VIDEOMODE is a bit vague name, and CONFIG_VIDEOMODE_HELPERS
        describes better what's included.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
      Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      a38884f6
  12. 24 1月, 2013 2 次提交
  13. 07 11月, 2012 1 次提交
  14. 03 10月, 2012 2 次提交
  15. 22 8月, 2012 1 次提交
  16. 15 3月, 2012 1 次提交
  17. 13 2月, 2012 1 次提交
    • D
      drm/modes: do not enforce an odd vtotal for interlaced modes · 8bf42225
      Daniel Vetter 提交于
      CEA actually specifies an interlaced mode with even vtotal and
      supplies a diagram showing how this is supposed to work.
      
      Note that interlaced modes with an even vtotal seem to be a fairly
      recent invention. All modelines lore I could dig up with googling says
      that vtotal for interlaced modes _needs_ to be odd. But the even
      modelines in CEA are not a spec-bug, there's a figure in CEA-861-E
      called "Figure 5 Special Interlaced Video Format Timing (Even Vtotal)"
      that explains how it's supposed to work. Furthermore intel Bspec
      explicitly mentions that both odd and even interlaced vtotal are
      supported (VTOTAL register in the south display engine of PCH split
      chips).
      Acked-by: NAdam Jackson <ajax@redhat.com>
      Signed-Off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      8bf42225
  18. 01 11月, 2011 1 次提交
  19. 25 7月, 2011 1 次提交
    • R
      DRM: clean up and document parsing of video= parameter · 04fee895
      Rolf Eike Beer 提交于
      The video= parameter of the DRM drivers supports some additional flags that
      the normal fb drivers do not have. They also allow to limit these flags to
      specific outputs. Both things were previously undocumented.
      
      Also the parsing of the line had some oddities:
      -A lot of misplaced options were silently ignored or partly rejected instead
       of stopping the parsing immediately
      -The 'R' option is documented to follow the 'M' option if specified. It is not
       documented that 'M' is needed to specify 'R' (also this is the case for normal
       fb drivers). In fact the code is correct for normal fb drivers but wrong for
       DRM ones.
       The old code allowed 'R' only _before_ 'M' (since it parses backwards) and only
       if 'M' is given at all which is not needed for the DRM drivers.
      -the margins option ('m') was parsed but later ignored even if the later
       functions support it.
      -specifying multiple enable options at the same time did not lead to an error.
      -specifying something bogus for horizontal resolution (i.e. other things as
       digits) did not lead to an error but an invalid resolution was used.
      
      If any errors are encountered the position of the faulting string is now
      printed to the user and the complete mode is ignored. This gives much
      more consistent error behaviour.
      
      I also removed some useless assignments and changed the local flag variables
      to be bool.
      Signed-off-by: NRolf Eike Beer <eike-kernel@sf-tec.de>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      04fee895
  20. 04 5月, 2011 1 次提交
  21. 28 4月, 2011 1 次提交
  22. 23 2月, 2011 1 次提交
  23. 18 10月, 2010 1 次提交
  24. 27 8月, 2010 1 次提交
  25. 09 4月, 2010 1 次提交
  26. 06 4月, 2010 2 次提交
    • A
      drm/modes: Fix interlaced mode names · 171fdd89
      Adam Jackson 提交于
      Height in frame size, not field size, and trailed with an 'i'.  Matches
      the X server behaviour.
      Signed-off-by: NAdam Jackson <ajax@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      171fdd89
    • A
      drm/edid: Add secondary GTF curve support · 7a374350
      Adam Jackson 提交于
      Before CVT-R, some monitors would advertise support for an alternative
      GTF formula with lower blanking intervals.  Correctly identify such
      monitors, and use the alternative formula when generating modes for
      them.
      
      Note that we only do this for "standard" timing descriptors (tuples of
      hsize in characters / aspect ratio / vertical refresh).  Range-based
      mode lists still only refer to the primary GTF curve.  It would be
      possible to do better for the latter case, but monitors are required to
      support the primary curve over the entire advertised range, so all it
      would win you is a lower pixel clock and therefore possibly better image
      quality on analog links.
      Signed-off-by: NAdam Jackson <ajax@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      7a374350