drm/amd/display: Add num_opp to resource_caps
authorEric Bernstein <eric.bernstein@amd.com>
Fri, 18 May 2018 14:49:33 +0000 (10:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Jun 2018 17:24:57 +0000 (12:24 -0500)
commite9522309efb31423a450c32f433dd95bfb8b5787
tree4064e5c6d849778a8017b92ea9c6c3fe4a0584ff
parent12036586a368b8c949d4e6e57ae3b40c41daf17a
drm/amd/display: Add num_opp to resource_caps

Number of OPPs to be instantiated is based on number
of timing generators, not number of pipes.

Signed-off-by: Eric Bernstein <eric.bernstein@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c
drivers/gpu/drm/amd/display/dc/inc/resource.h