diff --git a/src/audio_core/adsp/apps/audio_renderer/audio_renderer.cpp b/src/audio_core/adsp/apps/audio_renderer/audio_renderer.cpp index b874f87ae6..4cfcc187bc 100644 --- a/src/audio_core/adsp/apps/audio_renderer/audio_renderer.cpp +++ b/src/audio_core/adsp/apps/audio_renderer/audio_renderer.cpp @@ -132,11 +132,9 @@ void AudioRenderer::CreateSinkStreams() { void AudioRenderer::Main(std::stop_token stop_token) { static constexpr char name[]{"DSP_AudioRenderer_Main"}; Common::SetCurrentThreadName(name); - Common::SetCurrentThreadPriority(Common::ThreadPriority::High); // TODO: Create buffer map/unmap thread + mailbox // TODO: Create gMix devices, initialize them here - if (mailbox.Receive(Direction::DSP) != Message::InitializeOK) { LOG_ERROR(Service_Audio, "ADSP Audio Renderer -- Failed to receive initialize message from host!"); diff --git a/src/audio_core/renderer/system_manager.cpp b/src/audio_core/renderer/system_manager.cpp index 8146cb142c..3d296ce7ff 100644 --- a/src/audio_core/renderer/system_manager.cpp +++ b/src/audio_core/renderer/system_manager.cpp @@ -80,7 +80,6 @@ bool SystemManager::Remove(System& system_) { void SystemManager::ThreadFunc(std::stop_token stop_token) { static constexpr char name[]{"AudioRenderSystemManager"}; Common::SetCurrentThreadName(name); - Common::SetCurrentThreadPriority(Common::ThreadPriority::High); while (active && !stop_token.stop_requested()) { { std::scoped_lock l{mutex1}; diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp index 1c0a2d7bca..8f00f70794 100644 --- a/src/core/core_timing.cpp +++ b/src/core/core_timing.cpp @@ -56,7 +56,6 @@ CoreTiming::~CoreTiming() { void CoreTiming::ThreadEntry(CoreTiming& instance) { static constexpr char name[] = "HostTiming"; Common::SetCurrentThreadName(name); - Common::SetCurrentThreadPriority(Common::ThreadPriority::High); instance.on_thread_init(); instance.ThreadLoop(); } diff --git a/src/core/hle/service/glue/time/worker.cpp b/src/core/hle/service/glue/time/worker.cpp index 1dab3e9dcb..90cd517dbf 100644 --- a/src/core/hle/service/glue/time/worker.cpp +++ b/src/core/hle/service/glue/time/worker.cpp @@ -124,8 +124,6 @@ void TimeWorker::StartThread() { void TimeWorker::ThreadFunc(std::stop_token stop_token) { Common::SetCurrentThreadName("TimeWorker"); - Common::SetCurrentThreadPriority(Common::ThreadPriority::Low); - while (!stop_token.stop_requested()) { enum class EventType : s32 { Exit = 0, diff --git a/src/video_core/cdma_pusher.cpp b/src/video_core/cdma_pusher.cpp index 1b6b4c6d45..05b9bb9e8e 100644 --- a/src/video_core/cdma_pusher.cpp +++ b/src/video_core/cdma_pusher.cpp @@ -29,7 +29,6 @@ CDmaPusher::CDmaPusher(Host1x::Host1x& host1x_, s32 id) CDmaPusher::~CDmaPusher() = default; void CDmaPusher::ProcessEntries(std::stop_token stop_token) { - Common::SetCurrentThreadPriority(Common::ThreadPriority::High); ChCommandHeaderList command_list{host1x.System().ApplicationMemory(), 0, 0}; u32 count{}; u32 method_offset{}; diff --git a/src/video_core/fence_manager.h b/src/video_core/fence_manager.h index 0f927159ba..fc6a088a97 100644 --- a/src/video_core/fence_manager.h +++ b/src/video_core/fence_manager.h @@ -228,10 +228,7 @@ private: void ReleaseThreadFunc(std::stop_token stop_token) { std::string name = "GPUFencingThread"; - Common::SetCurrentThreadName(name.c_str()); - Common::SetCurrentThreadPriority(Common::ThreadPriority::High); - TFence current_fence; std::deque> current_operations; while (!stop_token.stop_requested()) { diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp index 9392534e7d..d3f256500a 100644 --- a/src/video_core/gpu_thread.cpp +++ b/src/video_core/gpu_thread.cpp @@ -26,7 +26,6 @@ static void RunThread(std::stop_token stop_token, Core::System& system, std::string name = "GPU"; Common::SetCurrentThreadName(name.c_str()); - Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical); system.RegisterHostThread(); auto current_context = context.Acquire();