drm/amd/display: Revise Sink device string ID
authorRobin Chen <po-tchen@amd.com>
Thu, 8 Sep 2022 13:42:10 +0000 (21:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Sep 2022 19:16:26 +0000 (15:16 -0400)
commit8bc14183988849e99046595785ceadbe0b88f7a7
treecb8094eedee53b576a3f5e4e9929ba08a9ec2a2f
parent9680810f91f2591b16b76f73d1e0d49af874be0a
drm/amd/display: Revise Sink device string ID

[Why]
The Sink device string ID1/ID2 use 5 bytes instead of 6 bytes,
so the driver should compare the first 5 bytes only.

Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Robin Chen <po-tchen@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/dce/dmub_psr.c
drivers/gpu/drm/amd/display/include/ddc_service_types.h