drm/amd/display: Populate invalid split index to be 0xF
authorAlvin Lee <alvin.lee2@amd.com>
Fri, 19 Jan 2024 22:20:21 +0000 (17:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Jan 2024 20:46:34 +0000 (15:46 -0500)
commitb26b943a8dcf627a80aac6aad64a30490774691c
tree822d4adf8d61013cb8c426f4961660efd7597c0b
parent4ba9ca63e696f7bdc91293aeb70c22203b7089be
drm/amd/display: Populate invalid split index to be 0xF

[why]
There exists scenarios where the split index for subvp can be
pipe index 0. The assumption in FW is that the split index
won't be 0 but this is incorrect.

[how]
Instead populate non-split cases to be 0xF to differentiate
between split and non-split.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@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/dc_dmub_srv.c