diff options
author | Jun Lei <jun.lei@amd.com> | 2021-06-14 10:18:59 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-11-22 14:45:01 -0500 |
commit | d26c4ffba6ac16b734749b8624124fdfced41453 (patch) | |
tree | 20d5033ecd94aab6acdbd2f0d599fffc6859f2bb /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | ef9d5a54dae9be855352ead302a9659bb8610285 (diff) | |
download | linux-d26c4ffba6ac16b734749b8624124fdfced41453.tar.bz2 |
drm/amd/display: Code change for DML isolation
[why]
DML itself is SW only, putting the logic as part of resource makes it
hw dependent and thus impossible to compile separately from dc.
Separate compilation is critical for unit testing as well as bbox tool
development
[how]
create new dml wrapper.
Copy logic from the validation functions into dml wrapper as base
implementation. Dml wrapper has internal/static implementations
for all helpers, and does not reference other functions.
It may reference dc structures/types for convenience.
This change now has all the changes for DML isolation squashed into
one.
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Jun Lei <jun.lei@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions