drm/amd/display: move vmid determination logic out of dc
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Wed, 22 May 2019 22:05:41 +0000 (18:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Jun 2019 17:50:44 +0000 (12:50 -0500)
commit11cd74cdb98aa6f4d6f54a0082dd28e0d4743746
treecb4565e9f860543b164669b0ab46909157d4d85e
parentacbf7faaf925a5843d128dfbd30daaaab2de42f7
drm/amd/display: move vmid determination logic out of dc

Currently vmid is decided internally inside dc. This makes it
difficult to use vmid use with external components.

This change moves vmid logic outside dc and allowing vmid to be
passed in as a parameter to DC.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/Makefile
drivers/gpu/drm/amd/display/dc/core/dc_vm_helper.c [deleted file]
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h
drivers/gpu/drm/amd/display/dc/inc/hw/vmid.h
drivers/gpu/drm/amd/display/dc/inc/vm_helper.h