linux_dsm_epyc7002/drivers/gpu/drm/msm
Uwe Kleine-König 9590e69db9 drm/msm: use devm_gpiod_get_optional for optional reset gpio
Since 39b2bbe3d7 (gpio: add flags argument to gpiod_get*() functions)
which appeared in v3.17-rc1, the gpiod_get* functions take an additional
parameter that allows to specify direction and initial value for output.

Also there is a variant to find optional gpios that returns NULL if
there is no gpio instead of -ENOENT.

Make use of both features to simplify the driver.

This makes error checking more strict because errors like -ENOSYS ("no
gpio support compiled in") or -EPROBE_DEFER ("gpio not ready yet") are
handled correctly now.

Furthermore this is one caller less that stops us making the flags
argument to gpiod_get*() mandatory.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2015-06-11 13:11:05 -04:00
..
adreno drm/msm: workaround for missing irq on a306/8x16 2015-06-11 13:11:01 -04:00
dsi drm/msm: use devm_gpiod_get_optional for optional reset gpio 2015-06-11 13:11:05 -04:00
edp drm/msm: drop redundant debug output 2015-06-11 13:11:03 -04:00
hdmi drm/msm: update generated headers 2015-06-11 13:11:01 -04:00
mdp drm/msm/mdp5: Wait for PP_DONE irq for command mode CRTC atomic commit 2015-06-11 13:11:04 -04:00
Kconfig drm/msm/dsi: Add DSI PLL clock driver support 2015-06-11 13:11:04 -04:00
Makefile drm/msm/dsi: Add DSI PLL clock driver support 2015-06-11 13:11:04 -04:00
msm_atomic.c drm/msm: Use customized function to wait for atomic commit done 2015-06-11 13:11:04 -04:00
msm_drv.c drm/msm: add missing DRIVER_ATOMIC flag 2015-06-11 13:11:00 -04:00
msm_drv.h drm/msm: Initial add DSI connector support 2015-04-01 19:29:38 -04:00
msm_fb.c drm/msm: fix unbalanced DRM framebuffer init/destroy 2015-05-14 11:48:54 -04:00
msm_fbdev.c drm/msm: add support for "stolen" mem 2015-04-01 19:29:33 -04:00
msm_gem_prime.c drm/msm: Allow exported dma-bufs to be mapped 2014-11-16 14:22:43 -05:00
msm_gem_submit.c
msm_gem.c drm/msm: Call drm_prime_gem_destroy to clean up imported GEM object 2015-06-11 13:11:02 -04:00
msm_gem.h drm/msm: add support for "stolen" mem 2015-04-01 19:29:33 -04:00
msm_gpu.c drm/msm: adreno a306 support 2015-06-11 13:11:01 -04:00
msm_gpu.h drm/msm: adreno a306 support 2015-06-11 13:11:01 -04:00
msm_iommu.c drm/msm: Fix a couple of 64-bit build warnings 2015-05-14 11:19:25 -04:00
msm_kms.h drm/msm: Use customized function to wait for atomic commit done 2015-06-11 13:11:04 -04:00
msm_mmu.h
msm_perf.c
msm_rd.c
msm_ringbuffer.c drm/msm: fix locking inconsistencies in gpu->destroy() 2015-05-15 09:28:27 -04:00
msm_ringbuffer.h
NOTES