Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: Uncomment SubVP pipe split assignment in driver

[Why & How]
Uncomment SubVP pipe split assignment in driver since FW headers
are now promoted

Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Wayne Lin <wayne.lin@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>

authored by

Alvin Lee and committed by
Alex Deucher
5fb78600 c4c3d87b

-4
-4
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
··· 675 675 div64_u64(((uint64_t)(dc->caps.subvp_fw_processing_delay_us) * ((uint64_t)phantom_timing->pix_clk_100hz * 100) + 676 676 ((uint64_t)phantom_timing->h_total * 1000000 - 1)), ((uint64_t)phantom_timing->h_total * 1000000)); 677 677 678 - /* TODO: Uncomment once FW headers are promoted 679 678 if (subvp_pipe->bottom_pipe) { 680 679 pipe_data->pipe_config.subvp_data.main_split_pipe_index = subvp_pipe->bottom_pipe->pipe_idx; 681 680 } else if (subvp_pipe->next_odm_pipe) { ··· 682 683 } else { 683 684 pipe_data->pipe_config.subvp_data.main_split_pipe_index = 0; 684 685 } 685 - */ 686 686 687 687 // Find phantom pipe index based on phantom stream 688 688 for (j = 0; j < dc->res_pool->pipe_count; j++) { ··· 689 691 690 692 if (phantom_pipe->stream == subvp_pipe->stream->mall_stream_config.paired_stream) { 691 693 pipe_data->pipe_config.subvp_data.phantom_pipe_index = phantom_pipe->pipe_idx; 692 - /* TODO: Uncomment once FW headers are promoted 693 694 if (phantom_pipe->bottom_pipe) { 694 695 pipe_data->pipe_config.subvp_data.phantom_split_pipe_index = phantom_pipe->bottom_pipe->pipe_idx; 695 696 } else if (phantom_pipe->next_odm_pipe) { ··· 696 699 } else { 697 700 pipe_data->pipe_config.subvp_data.phantom_split_pipe_index = 0; 698 701 } 699 - */ 700 702 break; 701 703 } 702 704 }