diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2024-04-03 16:28:35 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-04-04 21:57:45 +0000 |
commit | 799e99fe215f5af77c4544236fc0d3b4f78e17bd (patch) | |
tree | baeac8104222385b4199b0b45d95aac6ceb06476 | |
parent | b409936e975b7fdcdfe3afcb8ec98131a17432c6 (diff) |
radv: rename remaining phys_dev occurrences to pdev
Missed those.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28568>
-rw-r--r-- | src/amd/vulkan/radv_physical_device.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/amd/vulkan/radv_physical_device.h b/src/amd/vulkan/radv_physical_device.h index 34e6fd2f6de..cdccee88717 100644 --- a/src/amd/vulkan/radv_physical_device.h +++ b/src/amd/vulkan/radv_physical_device.h @@ -219,17 +219,17 @@ radv_has_pops(const struct radv_physical_device *pdev) } static inline bool -radv_has_uvd(struct radv_physical_device *phys_dev) +radv_has_uvd(struct radv_physical_device *pdev) { - enum radeon_family family = phys_dev->info.family; + enum radeon_family family = pdev->info.family; /* Only support UVD on TONGA+ */ if (family < CHIP_TONGA) return false; - return phys_dev->info.ip[AMD_IP_UVD].num_queues > 0; + return pdev->info.ip[AMD_IP_UVD].num_queues > 0; } static inline enum radv_queue_family -vk_queue_to_radv(const struct radv_physical_device *phys_dev, int queue_family_index) +vk_queue_to_radv(const struct radv_physical_device *pdev, int queue_family_index) { if (queue_family_index == VK_QUEUE_FAMILY_EXTERNAL || queue_family_index == VK_QUEUE_FAMILY_FOREIGN_EXT) return RADV_QUEUE_FOREIGN; @@ -237,7 +237,7 @@ vk_queue_to_radv(const struct radv_physical_device *phys_dev, int queue_family_i return RADV_QUEUE_IGNORED; assert(queue_family_index < RADV_MAX_QUEUE_FAMILIES); - return phys_dev->vk_queue_to_radv[queue_family_index]; + return pdev->vk_queue_to_radv[queue_family_index]; } /** |