From: Lin He <helin52@huawei.com>
Fix some bugs in the hibmc DP driver.
---
ChangeLog:
v1 -> v2:
- More states in HIBMC_DP_HPD_STATUS are added to the
'hibmc_dp_get_hpd_status'.
- The call to `hibmc_set_enable_flag()` has been moved before
`drm_client_setup()`, specifically before the connector detection
triggers the I2C bit operation. (sashiko-bot)
- A read-modify-write operation has been implemented instead of directly
writing to prevent clearing the I2C mask bits. (sashiko-bot)
---
Lin He (2):
drm/hisilicon/hibmc: Modify the method of obtaining the hpd_status
drm/hisilicon/hibmc: Add a flag to indicate whether the OS-side driver
has been loaded
drivers/gpu/drm/hisilicon/hibmc/dp/dp_comm.h | 1 -
drivers/gpu/drm/hisilicon/hibmc/dp/dp_hw.c | 32 ++++++++++++-------
drivers/gpu/drm/hisilicon/hibmc/dp/dp_hw.h | 4 ++-
.../gpu/drm/hisilicon/hibmc/hibmc_drm_dp.c | 29 ++++++++++-------
.../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 22 +++++++++++++
.../gpu/drm/hisilicon/hibmc/hibmc_drm_regs.h | 3 ++
6 files changed, 67 insertions(+), 24 deletions(-)
--
2.43.0