1. 25 1月, 2020 3 次提交
  2. 23 1月, 2020 1 次提交
  3. 22 1月, 2020 1 次提交
  4. 20 1月, 2020 1 次提交
  5. 16 1月, 2020 2 次提交
  6. 15 1月, 2020 1 次提交
  7. 13 1月, 2020 1 次提交
    • A
      drm/drm_panel: fix export of drm_panel_of_backlight, try #3 · 8d6cb2f7
      Arnd Bergmann 提交于
      Making this IS_REACHABLE() was still wrong, as that just determines
      whether the lower-level backlight code would be reachable from the panel
      driver. However, with CONFIG_DRM=y and CONFIG_BACKLIGHT_CLASS_DEVICE=m,
      the drm_panel_of_backlight is left out of drm_panel.o but the condition
      tells the driver that it is there, leading to multiple link errors such as
      
      ERROR: "drm_panel_of_backlight" [drivers/gpu/drm/panel/panel-sitronix-st7701.ko] undefined!
      ERROR: "drm_panel_of_backlight" [drivers/gpu/drm/panel/panel-sharp-ls043t1le01.ko] undefined!
      ERROR: "drm_panel_of_backlight" [drivers/gpu/drm/panel/panel-seiko-43wvf1g.ko] undefined!
      ERROR: "drm_panel_of_backlight" [drivers/gpu/drm/panel/panel-ronbo-rb070d30.ko] undefined!
      ERROR: "drm_panel_of_backlight" [drivers/gpu/drm/panel/panel-rocktech-jh057n00900.ko] undefined!
      ERROR: "drm_panel_of_backlight" [drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.ko] undefined!
      ERROR: "drm_panel_of_backlight" [drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.ko] undefined!
      
      Change the condition to check for whether the function was actually part
      of the drm module. This version of the patch survived a few hundred
      randconfig builds, so I have a good feeling this might be the last
      one for the export.
      
      Fixes: 4a34a9dc ("drm/drm_panel: Fix EXPORT of drm_panel_of_backlight() one more time")
      Fixes: 907aa265 ("drm/drm_panel: fix EXPORT of drm_panel_of_backlight")
      Fixes: 152dbdea ("drm/panel: add backlight support")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200107203231.920256-1-arnd@arndb.de
      8d6cb2f7
  8. 11 1月, 2020 1 次提交
  9. 10 1月, 2020 2 次提交
  10. 08 1月, 2020 4 次提交
  11. 07 1月, 2020 6 次提交
  12. 06 1月, 2020 1 次提交
  13. 03 1月, 2020 1 次提交
  14. 23 12月, 2019 1 次提交
  15. 22 12月, 2019 2 次提交
  16. 18 12月, 2019 4 次提交
  17. 17 12月, 2019 1 次提交
    • J
      drm/print: introduce new struct drm_device based logging macros · fb6c7ab8
      Jani Nikula 提交于
      Add new struct drm_device based logging macros modeled after the core
      kernel device based logging macros. These would be preferred over the
      drm printk and struct device based macros in drm code, where possible.
      
      We have existing drm specific struct device based logging functions, but
      they are too verbose to use for two main reasons:
      
       * The names are unnecessarily long, for example DRM_DEV_DEBUG_KMS().
      
       * The use of struct device over struct drm_device is too generic for
         most users, leading to an extra dereference.
      
      For example:
      
      	DRM_DEV_DEBUG_KMS(drm->dev, "Hello, world\n");
      
      vs.
      
      	drm_dbg_kms(drm, "Hello, world\n");
      
      It's a matter of taste, but the SHOUTING UPPERCASE has been argued to be
      less readable than lowercase.
      
      Some names are changed from old DRM names to be based on the core kernel
      logging functions. For example, NOTE -> notice, ERROR -> err, DEBUG ->
      dbg.
      
      Due to the conflation of DRM_DEBUG and DRM_DEBUG_DRIVER macro use
      (DRM_DEBUG is used widely in drivers though it's supposed to be a core
      debugging category), they are named as drm_dbg_core and drm_dbg,
      respectively.
      
      The drm_err and _once/_ratelimited variants no longer include the
      function name in order to be able to use the core device based logging
      macros. Arguably this is not a significant change; error messages should
      not be so common to be only distinguishable by the function name.
      
      Ratelimited debug logging macros are to be added later.
      
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Acked-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Acked-by: NSean Paul <sean@poorly.run>
      Acked-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191210123050.8799-1-jani.nikula@intel.com
      fb6c7ab8
  18. 16 12月, 2019 2 次提交
  19. 14 12月, 2019 1 次提交
  20. 13 12月, 2019 4 次提交