summaryrefslogtreecommitdiffstats
path: root/net/dns_resolver
diff options
context:
space:
mode:
authorLewis Huang <Lewis.Huang@amd.com>2019-08-07 18:05:49 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-09-13 17:54:46 -0500
commit4fd99f67f3c639b3c70365902fe2224cfb8d681f (patch)
treef34fba88fdc8649f17ecf7045d17376345756fef /net/dns_resolver
parent8ac64f0af5ffc8ae8cf0c43415c147781733f30b (diff)
downloadlinux-4fd99f67f3c639b3c70365902fe2224cfb8d681f.tar.bz2
drm/amd/display: refine i2c over aux
[Why] When user mode use i2c over aux through ADL or DDI, the function dal_ddc_service_query_ddc_data will be called. There are two issues. 1. When read/write length > 16byte, current always return false because the DEFAULT_AUX_MAX_DATA_SIZE != length. 2. When usermode only need to read data through i2c, driver will write mot = true at the same address and cause i2c sink confused. Therefore the following read command will get garbage. [How] 1. Add function dal_dcc_submit_aux_command to handle length > 16 byte. 2. Check read size and write size when query ddc data. Signed-off-by: Lewis Huang <Lewis.Huang@amd.com> Reviewed-by: Charlene Liu <Charlene.Liu@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'net/dns_resolver')
0 files changed, 0 insertions, 0 deletions