1. 03 1月, 2018 14 次提交
  2. 02 12月, 2017 1 次提交
    • P
      drm/etnaviv: make THERMAL selectable · 49b82c38
      Philipp Zabel 提交于
      The etnaviv driver causes a link failure if it is built-in but THERMAL
      is built as a module:
      
        drivers/gpu/drm/etnaviv/etnaviv_gpu.o: In function `etnaviv_gpu_bind':
        etnaviv_gpu.c:(.text+0x4c4): undefined reference to `thermal_of_cooling_device_register'
        etnaviv_gpu.c:(.text+0x600): undefined reference to `thermal_cooling_device_unregister'
        drivers/gpu/drm/etnaviv/etnaviv_gpu.o: In function `etnaviv_gpu_unbind':
        etnaviv_gpu.c:(.text+0x2aac): undefined reference to `thermal_cooling_device_unregister'
      
      Adding a Kconfig dependency on THERMAL || !THERMAL to avoid this causes
      a dependency loop on x86_64:
      
        drivers/gpu/drm/tve200/Kconfig:1:error: recursive dependency detected!
        For a resolution refer to Documentation/kbuild/kconfig-language.txt
        subsection "Kconfig recursive dependency limitations"
        drivers/gpu/drm/tve200/Kconfig:1:       symbol DRM_TVE200 depends on CMA
        For a resolution refer to Documentation/kbuild/kconfig-language.txt
        subsection "Kconfig recursive dependency limitations"
        mm/Kconfig:489: symbol CMA is selected by DRM_ETNAVIV
        For a resolution refer to Documentation/kbuild/kconfig-language.txt
        subsection "Kconfig recursive dependency limitations"
        drivers/gpu/drm/etnaviv/Kconfig:2:      symbol DRM_ETNAVIV depends on THERMAL
        For a resolution refer to Documentation/kbuild/kconfig-language.txt
        subsection "Kconfig recursive dependency limitations"
        drivers/thermal/Kconfig:5:      symbol THERMAL is selected by ACPI_VIDEO
        For a resolution refer to Documentation/kbuild/kconfig-language.txt
        subsection "Kconfig recursive dependency limitations"
        drivers/acpi/Kconfig:189:       symbol ACPI_VIDEO is selected by BACKLIGHT_CLASS_DEVICE
        For a resolution refer to Documentation/kbuild/kconfig-language.txt
        subsection "Kconfig recursive dependency limitations"
        drivers/video/backlight/Kconfig:158:    symbol BACKLIGHT_CLASS_DEVICE is selected by DRM_PARADE_PS8622
        For a resolution refer to Documentation/kbuild/kconfig-language.txt
        subsection "Kconfig recursive dependency limitations"
        drivers/gpu/drm/bridge/Kconfig:62:      symbol DRM_PARADE_PS8622 depends on DRM_BRIDGE
        For a resolution refer to Documentation/kbuild/kconfig-language.txt
        subsection "Kconfig recursive dependency limitations"
        drivers/gpu/drm/bridge/Kconfig:1:       symbol DRM_BRIDGE is selected by DRM_TVE200
      
      To work around this, add a new option DRM_ETNAVIV_THERMAL to optionally
      enable thermal throttling support and make DRM_ETNAVIV select THERMAL
      at the same time.
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      Signed-off-by: NLucas Stach <l.stach@pengutronix.de>
      49b82c38
  3. 03 11月, 2017 1 次提交
    • K
      drm/etnaviv: Convert timers to use timer_setup() · 43b70524
      Kees Cook 提交于
      In preparation for unconditionally passing the struct timer_list pointer to
      all timer callbacks, switch to using the new timer_setup() and from_timer()
      to pass the timer pointer explicitly.
      
      Cc: Lucas Stach <l.stach@pengutronix.de>
      Cc: Russell King <linux+etnaviv@armlinux.org.uk>
      Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
      Cc: David Airlie <airlied@linux.ie>
      Cc: etnaviv@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: NKees Cook <keescook@chromium.org>
      43b70524
  4. 10 10月, 2017 12 次提交
  5. 15 8月, 2017 1 次提交
  6. 05 5月, 2017 2 次提交
  7. 12 4月, 2017 1 次提交
  8. 29 3月, 2017 5 次提交
  9. 02 2月, 2017 3 次提交