summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/gpio
diff options
context:
space:
mode:
authorSridevi Arvindekar <sridevi.arvindekar@amd.com>2026-08-10 10:55:39 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-08-25 18:30:12 -0400
commitfc01ce8c85af4f78da448b4d54dd69e17d917c15 (patch)
treeee1f2c8fb002807f1413dd6d58f4428183e7cb31 /drivers/gpu/drm/amd/display/dc/gpio
parentfb1b272dbf4affc410448aca6b221b7c243df4bc (diff)
downloadlinux-next-fc01ce8c85af4f78da448b4d54dd69e17d917c15.tar.gz
linux-next-fc01ce8c85af4f78da448b4d54dd69e17d917c15.zip
drm/amd/display: Fixes for HPO test regressions
[Why&How] Updates and fixes to HPO functionality, initialization, encoder configuration and platform-specific behavior. Reviewed-by: Wenjing Liu <wenjing.liu@amd.com> Signed-off-by: Sridevi Arvindekar <sridevi.arvindekar@amd.com> Signed-off-by: Ivan Lipski <ivan.lipski@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/gpio')
-rw-r--r--drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c b/drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c
index b75bfea635fd..bbfdcfc5b48f 100644
--- a/drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c
+++ b/drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c
@@ -469,10 +469,11 @@ static enum gpio_result dal_hw_ddc_set_config_i3cpad(
switch (config_data->config.ddc.type) {
/* For ASICs with i3cpad module there is no dual pad mode for i3cpads */
case GPIO_DDC_CONFIG_TYPE_MODE_I2C:
- /* Enable the RX for the PAD (it is disabled by default). */
- REG_UPDATE(dc_i3cpad_control1, DC_I3CPAD_RXSEL, 0);
- return GPIO_RESULT_OK;
case GPIO_DDC_CONFIG_TYPE_MODE_AUX:
+ /* Enable the RX for the PAD (it is disabled by default). Required for
+ * both I2C (EDID) and AUX (DPCD); without it the sink reply is never
+ * received and the transaction times out. */
+ REG_UPDATE(dc_i3cpad_control1, DC_I3CPAD_RXSEL, 0);
return GPIO_RESULT_OK;
case GPIO_DDC_CONFIG_TYPE_POLL_FOR_CONNECT: