1. 19 Oct, 2016 2 commits
    • Stephen Boyd's avatar
      gpu: Remove depends on RESET_CONTROLLER when not a provider · fb80016a
      Stephen Boyd authored
      These GPU drivers only depend on the RESET_CONTROLLER config
      option to fix build issues that existed when there weren't stub
      reset APIs for reset controller consumers. Given that these
      drivers aren't providing any reset controllers themselves, they
      don't actually depend on the API to build (just to function) so
      they don't need to depend on it. Remove the dependency to fix
      recursive build errors like the following:
      
      drivers/usb/Kconfig:39:error: recursive dependency detected!
      drivers/usb/Kconfig:39: symbol USB is selected by MOUSE_APPLETOUCH
      drivers/input/mouse/Kconfig:187:        symbol MOUSE_APPLETOUCH depends on INPUT
      drivers/input/Kconfig:8:        symbol INPUT is selected by VT
      drivers/tty/Kconfig:12: symbol VT is selected by FB_STI
      drivers/video/fbdev/Kconfig:674:        symbol FB_STI depends on FB
      drivers/video/fbdev/Kconfig:5:  symbol FB is selected by DRM_KMS_FB_HELPER
      drivers/gpu/drm/Kconfig:42:     symbol DRM_KMS_FB_HELPER is selected by DRM_KMS_CMA_HELPER
      drivers/gpu/drm/Kconfig:98:     symbol DRM_KMS_CMA_HELPER is selected by DRM_IMX
      drivers/gpu/drm/imx/Kconfig:1:  symbol DRM_IMX depends on IMX_IPUV3_CORE
      drivers/gpu/ipu-v3/Kconfig:1:   symbol IMX_IPUV3_CORE depends on RESET_CONTROLLER
      drivers/reset/Kconfig:4:        symbol RESET_CONTROLLER is selected by USB_CHIPIDEA
      drivers/usb/chipidea/Kconfig:1: symbol USB_CHIPIDEA depends on USB_EHCI_HCD
      drivers/usb/host/Kconfig:84:    symbol USB_EHCI_HCD depends on USB
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: <dri-devel@lists.freedesktop.org>
      Cc: Heiko Stuebner <heiko@sntech.de>
      Cc: Mark Yao <mark.yao@rock-chips.com>
      Acked-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      Acked-by: robdclark@gmail.com
      Signed-off-by: default avatarStephen Boyd <stephen.boyd@linaro.org>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/20161018205719.20575-1-stephen.boyd@linaro.org
      fb80016a
    • Arnd Bergmann's avatar
      i915: don't call drm_atomic_state_put on invalid pointer · b9a1b717
      Arnd Bergmann authored
      The introduction of reference counting on the state structures caused
      sanitize_watermarks() in i915 to break in the error handling case,
      as pointed out by gcc -Wmaybe-uninitialized
      
      drivers/gpu/drm/i915/intel_display.c: In function ‘intel_modeset_init’:
      include/drm/drm_atomic.h:224:2: error: ‘state’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
      
      This changes the function back to only drop the reference count
      when it was successfully allocated first.
      
      Fixes: 0853695c ("drm: Add reference counting to drm_atomic_state")
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
      Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/20161018151652.2690201-1-arnd@arndb.de
      b9a1b717
  2. 18 Oct, 2016 14 commits
  3. 17 Oct, 2016 12 commits
  4. 13 Oct, 2016 4 commits
  5. 12 Oct, 2016 8 commits