diff options
author | 2023-11-03 22:18:27 +0200 | |
---|---|---|
committer | 2023-11-22 19:12:59 +0200 | |
commit | 8241b55f1ded100295ea95d72fd2e95e69776923 (patch) | |
tree | 4bb5d924db78845963620a2c9c11501a47c911b0 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | drm/i915/dsi: Extract common soc_gpio_set_value() helper (diff) | |
download | linux-rng-8241b55f1ded100295ea95d72fd2e95e69776923.tar.xz linux-rng-8241b55f1ded100295ea95d72fd2e95e69776923.zip |
drm/i915/dsi: Replace poking of VLV 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 40ecab551232 ("pinctrl:
baytrail: Really serialize all register accesses") 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-13-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions