Searched hist:"2 fcb47831132103f0f98c4fc670fecd6f5c78f3b" (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/drivers/video/drm/ |
| H A D | analogix_dp_reg.c | 2fcb47831132103f0f98c4fc670fecd6f5c78f3b Mon Nov 18 03:48:35 UTC 2024 Damon Ding <damon.ding@rock-chips.com> video/drm: analogix_dp: read/write DPCD through drm_dp_aux
Sync the functions of DPCD read/write with Kernel:
analogix_dp_write_byte_to_dpcd() -> drm_dp_dpcd_writeb() analogix_dp_read_byte_from_dpcd() -> drm_dp_dpcd_readb() analogix_dp_write_bytes_to_dpcd() -> drm_dp_dpcd_write() analogix_dp_read_bytes_from_dpcd() -> drm_dp_dpcd_read()
In addition, the older functions may not have the return value check. So the necessary return value check have been added in the patch, which is also synchronized with Kernel.
With the patch, the analogix_dp driver will be more maintainable and readable.
Change-Id: Ic2b7d6d9ab32ecec0c5bb6de09082c536cae1a41 Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
|
| H A D | analogix_dp.h | 2fcb47831132103f0f98c4fc670fecd6f5c78f3b Mon Nov 18 03:48:35 UTC 2024 Damon Ding <damon.ding@rock-chips.com> video/drm: analogix_dp: read/write DPCD through drm_dp_aux
Sync the functions of DPCD read/write with Kernel:
analogix_dp_write_byte_to_dpcd() -> drm_dp_dpcd_writeb() analogix_dp_read_byte_from_dpcd() -> drm_dp_dpcd_readb() analogix_dp_write_bytes_to_dpcd() -> drm_dp_dpcd_write() analogix_dp_read_bytes_from_dpcd() -> drm_dp_dpcd_read()
In addition, the older functions may not have the return value check. So the necessary return value check have been added in the patch, which is also synchronized with Kernel.
With the patch, the analogix_dp driver will be more maintainable and readable.
Change-Id: Ic2b7d6d9ab32ecec0c5bb6de09082c536cae1a41 Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
|
| H A D | analogix_dp.c | 2fcb47831132103f0f98c4fc670fecd6f5c78f3b Mon Nov 18 03:48:35 UTC 2024 Damon Ding <damon.ding@rock-chips.com> video/drm: analogix_dp: read/write DPCD through drm_dp_aux
Sync the functions of DPCD read/write with Kernel:
analogix_dp_write_byte_to_dpcd() -> drm_dp_dpcd_writeb() analogix_dp_read_byte_from_dpcd() -> drm_dp_dpcd_readb() analogix_dp_write_bytes_to_dpcd() -> drm_dp_dpcd_write() analogix_dp_read_bytes_from_dpcd() -> drm_dp_dpcd_read()
In addition, the older functions may not have the return value check. So the necessary return value check have been added in the patch, which is also synchronized with Kernel.
With the patch, the analogix_dp driver will be more maintainable and readable.
Change-Id: Ic2b7d6d9ab32ecec0c5bb6de09082c536cae1a41 Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
|