From 53085a45e0b2cc995f4056de40116a66f7ae7c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 7 Jan 2024 22:44:55 +0000 Subject: Fix typos in video_core --- src/video_core/control/channel_state_cache.h | 4 ++-- src/video_core/control/channel_state_cache.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/video_core/control') diff --git a/src/video_core/control/channel_state_cache.h b/src/video_core/control/channel_state_cache.h index 5574e1fba..1dbfda299 100644 --- a/src/video_core/control/channel_state_cache.h +++ b/src/video_core/control/channel_state_cache.h @@ -85,12 +85,12 @@ protected: std::deque free_channel_ids; std::unordered_map channel_map; std::vector active_channel_ids; - struct AddresSpaceRef { + struct AddressSpaceRef { size_t ref_count; size_t storage_id; Tegra::MemoryManager* gpu_memory; }; - std::unordered_map address_spaces; + std::unordered_map address_spaces; mutable std::mutex config_mutex; virtual void OnGPUASRegister([[maybe_unused]] size_t map_id) {} diff --git a/src/video_core/control/channel_state_cache.inc b/src/video_core/control/channel_state_cache.inc index 460313893..31f792ddd 100644 --- a/src/video_core/control/channel_state_cache.inc +++ b/src/video_core/control/channel_state_cache.inc @@ -38,7 +38,7 @@ void ChannelSetupCaches

::CreateChannel(struct Tegra::Control::ChannelState& c as_it->second.ref_count++; return; } - AddresSpaceRef new_gpu_mem_ref{ + AddressSpaceRef new_gpu_mem_ref{ .ref_count = 1, .storage_id = address_spaces.size(), .gpu_memory = channel.memory_manager.get(), -- cgit v1.2.3