]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drm/amdgpu/display move get_num_odm_splits() into dc_resource.c
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Feb 2020 04:29:04 +0000 (23:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Feb 2020 21:04:39 +0000 (16:04 -0500)
commit228a10d4e1b018ca777281de22276f291bd25a2f
tree333d3a8c106f61856b83bd0f5edff2650b43f2e8
parentcf2156e240bcb732536d9de60a9f30b9d92cf965
drm/amdgpu/display move get_num_odm_splits() into dc_resource.c

It's used by more than just DCN2.0.  Fixes missing symbol when
amdgpu is built without DCN support.

Reviewed-by: Zhan Liu <zhan.liu@amd.com>
Tested-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.h
drivers/gpu/drm/amd/display/dc/inc/resource.h