1. 15 2月, 2020 2 次提交
  2. 14 2月, 2020 1 次提交
  3. 22 12月, 2019 1 次提交
  4. 16 12月, 2019 4 次提交
  5. 29 11月, 2019 2 次提交
  6. 16 11月, 2019 1 次提交
  7. 23 10月, 2019 1 次提交
  8. 19 10月, 2019 3 次提交
  9. 10 10月, 2019 1 次提交
  10. 09 10月, 2019 1 次提交
    • L
      drm/edid: Select DMT timing if EDID's display feature not support GTF · bfef04ad
      Lee Shawn C 提交于
      Refer to EDID 1.3 spec, display FEATURE (byte 18h) bit #0 said
      "If this bit is set to 1, the display supports timings based on the
      GTF standard using default GTF parameter values".
      
      And EDID 1.4 spec shows "If bit 0 is set to 0, then the display
      is noncontinuous frequency (multi-mode) and is only specified to accept
      the video timing formats that are listed in BASE EDID and certain
      EXTENSION Blocks.
      
      When display feature did not support CVT or GFT2 and monitor's EDID version
      greater than or equal to "1.2". DRM driver would select GTF as default
      for standard timing calculation. It may generated some video timing
      that can't display properly by external monitor.
      
      For example. When driver retrieved "0xD1 0xFC" (FHD, 120Hz) and
      "0xD1 0xE8" (FHD, 100Hz) from "Standard Timings". GTF formula
      would generate video timing like below. It already over monitor's
      spec to cause black screen issue.
      "1920x1080" 120 368881 1920 2072 2288 2656 1080 1081 1084 1157 0x0 0x6
      "1920x1080" 100 301992 1920 2072 2280 2640 1080 1081 1084 1144 0x0 0x6
      
      v2: Just confirm GTF flag and omit the revision check.
      
      Cc: Jani Nikula <jani.nikula@intel.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Adam Jackson <ajax@redhat.com>
      Cc: Cooper Chiou <cooper.chiou@intel.com>
      Signed-off-by: NLee Shawn C <shawn.c.lee@intel.com>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191007135127.9538-1-shawn.c.lee@intel.com
      bfef04ad
  11. 02 10月, 2019 1 次提交
  12. 20 9月, 2019 1 次提交
  13. 06 9月, 2019 1 次提交
    • D
      drm: Use EOPNOTSUPP, not ENOTSUPP · c7581a41
      Daniel Vetter 提交于
      - it's what we recommend in our docs:
      
      https://dri.freedesktop.org/docs/drm/gpu/drm-uapi.html#recommended-ioctl-return-values
      
      - it's the overwhelmingly used error code for "operation not
        supported", at least in drm core (slightly less so in drivers):
      
      $ git grep EOPNOTSUPP -- drivers/gpu/drm/*c | wc -l
      83
      $ git grep ENOTSUPP -- drivers/gpu/drm/*c | wc -l
      5
      
      - include/linux/errno.h makes it fairly clear that these are for nfsv3
        (plus they also have error codes above 512, which is the block with
        some special behaviour ...)
      
      /* Defined for the NFSv3 protocol */
      
      If the above isn't reflecting current practice, then I guess we should
      at least update the docs.
      
      Noralf commented:
      
      Ben Hutchings made this comment[1] in a thread about use of ENOTSUPP in
      drivers:
      
        glibc's strerror() returns these strings for ENOTSUPP and EOPNOTSUPP
        respectively:
      
        "Unknown error 524"
        "Operation not supported"
      
      So at least for errors returned to userspace EOPNOTSUPP makes sense.
      
      José asked:
      
      > Hopefully this will not break any userspace
      
      None of the functions in drm_edid.c affected by this reach userspace,
      it's all driver internal.
      
      Same for the mipi function, that error code should be handled by
      drivers. Drivers are supposed to remap "the hw is on fire" to EIO when
      reporting up to userspace, but I think if a driver sees this it would
      be a driver bug.
      v2: Augment commit message with comments from Noralf and José
      Reviewed-by: NJosé Roberto de Souza <jose.souza@intel.com>
      Acked-by: NNoralf Trønnes <noralf@tronnes.org>
      Cc: José Roberto de Souza <jose.souza@intel.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Maxime Ripard <mripard@kernel.org>
      Cc: Sean Paul <sean@poorly.run>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Andres Rodriguez <andresx7@gmail.com>
      Cc: Noralf Trønnes <noralf@tronnes.org>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190904143942.31756-1-daniel.vetter@ffwll.ch
      c7581a41
  14. 25 6月, 2019 2 次提交
  15. 12 6月, 2019 2 次提交
  16. 06 6月, 2019 2 次提交
  17. 24 5月, 2019 1 次提交
    • S
      drm/edid: Fix docbook in drm_hdmi_infoframe_set_hdr_metadata() · 6ac98829
      Sean Paul 提交于
      Fixes the following warnings:
      ../drivers/gpu/drm/drm_edid.c:4925: warning: Function parameter or member 'conn_state' not described in 'drm_hdmi_infoframe_set_hdr_metadata'
      ../drivers/gpu/drm/drm_edid.c:4925: warning: Excess function parameter 'hdr_metadata' description in 'drm_hdmi_infoframe_set_hdr_metadata'
      
      Fixes: 2cdbfd66 ("drm: Enable HDR infoframe support")
      Cc: Uma Shankar <uma.shankar@intel.com>
      Cc: Shashank Sharma <shashank.sharma@intel.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Maxime Ripard <maxime.ripard@bootlin.com>
      Cc: Sean Paul <sean@poorly.run>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Cc: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
      Cc: Hans Verkuil <hansverk@cisco.com>
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-fbdev@vger.kernel.org
      Reviewed-by: NUma Shankar <uma.shankar@intel.com>
      Signed-off-by: NSean Paul <seanpaul@chromium.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190523135504.184354-1-sean@poorly.run
      6ac98829
  18. 23 5月, 2019 3 次提交
  19. 07 5月, 2019 1 次提交
  20. 06 5月, 2019 1 次提交
  21. 27 3月, 2019 1 次提交
  22. 15 3月, 2019 1 次提交
  23. 20 2月, 2019 1 次提交
  24. 11 1月, 2019 2 次提交
  25. 29 10月, 2018 1 次提交
  26. 16 10月, 2018 1 次提交
  27. 03 10月, 2018 1 次提交