drm/amd/display: Remove ddc write and read size checking
authorLeo Ma <hanghong.ma@amd.com>
Wed, 23 Mar 2022 16:00:53 +0000 (12:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Apr 2022 21:11:13 +0000 (17:11 -0400)
commite953cd08d78256764721e459ce11f9d41e8934f9
tree1d673e224e2e30e5ba70203ec6fd0c9d8a7450f6
parentd9f442e9a20c20333ef9b2341d7c74c9783d30b4
drm/amd/display: Remove ddc write and read size checking

[Why]
Customer found I2C over AUX using ADL_Display_DDCBlockAccess_Get
will fail when sending more than 256 bytes of data;

[How]
Remove the write and read size checking to allow sending data more
than 256 bytes;

Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Leo Ma <hanghong.ma@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c