diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2023-06-22 16:14:22 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-18 11:14:08 -0400 |
commit | a243e38e699f03b7d73b156564cfd67b78448368 (patch) | |
tree | 384e7bf59b9d9c86feaa626670355e76e9349de9 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | bf27f5defe92d310099d2f621a5276104d7db093 (diff) | |
download | linux-a243e38e699f03b7d73b156564cfd67b78448368.tar.gz linux-a243e38e699f03b7d73b156564cfd67b78448368.tar.bz2 linux-a243e38e699f03b7d73b156564cfd67b78448368.zip |
drm/amd/display: Skip querying caps when DMCUB emulation is in use
[Why]
Workaround to avoid accessing DMCUB state too early if the emulator
is in use - we don't support any of the features the caps are querying
with emulation anyway.
[How]
Guard the query if emulation is in use.
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Alan Liu <haoping.liu@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@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_debugfs.c')
0 files changed, 0 insertions, 0 deletions