diff options
author | 2023-11-03 22:18:29 +0200 | |
---|---|---|
committer | 2023-11-22 19:13:02 +0200 | |
commit | a23e60938a7dfdac11bbacf1f5da4a99c46432e1 (patch) | |
tree | 33f77b12a4cf2c3dbd631eb4293939e21d1d4f28 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | drm/i915/dsi: Prepare soc_gpio_set_value() to distinguish GPIO communities (diff) | |
download | linux-rng-a23e60938a7dfdac11bbacf1f5da4a99c46432e1.tar.xz linux-rng-a23e60938a7dfdac11bbacf1f5da4a99c46432e1.zip |
drm/i915/dsi: Replace poking of CHV GPIOs behind the driver's back
It's a dirty hack in the driver that pokes GPIO registers behind
the driver's back. Moreoever it might be problematic as simultaneous
I/O may hang the system, see the commit 0bd50d719b00 ("pinctrl:
cherryview: prevent concurrent access to GPIO controllers") for
the details. Taking all this into consideration replace the hack
with proper GPIO APIs being used.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231103201831.1037416-15-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions