OSDN Git Service

drm/amd/display: support virtual DCN
authorJun Lei <Jun.Lei@amd.com>
Mon, 25 Nov 2019 15:58:44 +0000 (10:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2019 21:09:10 +0000 (16:09 -0500)
commit68c0fca5e45a1fd1262e70d89857e2ede1995f6b
tree5a3fd8e6bf25f7ddfca7463c060b2ec621a03721
parent830806c5654bc8ef0c5b98ce0ac381e3629a894d
drm/amd/display: support virtual DCN

[why]
DAL3 should support SRIOV

[how]
Add support for the virtual dal flag.  This flag should skip
most/all of DC construction since the HW isn't accessible, but
still construct WindowsDM (almost) normally but with only SW display
targets

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc_types.h