summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorDavid Matlack <dmatlack@google.com>2021-06-17 23:19:47 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-18 06:45:46 -0400
commit63c0cac938edfa5d72bfbe8f1eeb9d47b397829c (patch)
treebe51c631aceac5c3a996be1ebe4de5de73a6a563 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent0b873fd7fb53ed7343ee7ee166e1373aec02a9cb (diff)
KVM: x86/mmu: Refactor is_tdp_mmu_root into is_tdp_mmu
This change simplifies the call sites slightly and also abstracts away the implementation detail of looking at root_hpa as the mechanism for determining if the mmu is the TDP MMU. Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: David Matlack <dmatlack@google.com> Message-Id: <20210617231948.2591431-4-dmatlack@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions