[PR #140] [MERGED] A bunch of new functional and small improvements #1331

Closed
opened 2026-02-27 21:12:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/140
Author: @psucien
Created: 5/17/2024
Status: Merged
Merged: 5/18/2024
Merged by: @georgemoralis

Base: mainHead: additional_evq_func


📝 Commits (5)

  • 9ad7495 kernel: user event and data functions
  • 058e728 platform: multiple persistent irq handlers
  • 8455574 gnmdriver: submission lock moved out from gpu
  • 133acdc video_out: added vblank event
  • 45e73d3 kernel: event queue improvements

📊 Changes

11 files changed (+114 additions, -47 deletions)

View changed files

📝 src/core/libraries/gnmdriver/gnmdriver.cpp (+19 -8)
📝 src/core/libraries/kernel/event_queue.cpp (+16 -13)
📝 src/core/libraries/kernel/event_queues.cpp (+27 -3)
📝 src/core/libraries/kernel/event_queues.h (+2 -0)
📝 src/core/libraries/kernel/libkernel.cpp (+2 -0)
📝 src/core/libraries/videoout/driver.cpp (+7 -0)
📝 src/core/libraries/videoout/driver.h (+1 -0)
📝 src/core/libraries/videoout/video_out.cpp (+27 -0)
📝 src/core/libraries/videoout/video_out.h (+1 -0)
📝 src/core/platform.h (+10 -9)
📝 src/video_core/amdgpu/liverpool.h (+2 -14)

📄 Description

GnmDriver

  • Submission lock moved out from GPU as it needs to be accessed by internal driver functions
  • Added sceGnmAreSubmitsAllowed

VideoOut

  • Added sceVideoOutAddVblankEvent

Kernel

  • Added sceKernelAddUserEvent and sceKernelGetEventUserData
  • Event processing now works with multiple events

Platform

  • Added option to register several listeners to the same IRQ

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/140 **Author:** [@psucien](https://github.com/psucien) **Created:** 5/17/2024 **Status:** ✅ Merged **Merged:** 5/18/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `additional_evq_func` --- ### 📝 Commits (5) - [`9ad7495`](https://github.com/shadps4-emu/shadPS4/commit/9ad749566175921e6ea9a4b661913ecf2679c197) kernel: user event and data functions - [`058e728`](https://github.com/shadps4-emu/shadPS4/commit/058e728e291c828a44e68167da715bdd5aeef55c) platform: multiple persistent irq handlers - [`8455574`](https://github.com/shadps4-emu/shadPS4/commit/84555746156296257ebbff6aab85a19d49668f75) gnmdriver: submission lock moved out from gpu - [`133acdc`](https://github.com/shadps4-emu/shadPS4/commit/133acdc120058a1879e8bd748dfc2f4c1ebf4cb7) video_out: added vblank event - [`45e73d3`](https://github.com/shadps4-emu/shadPS4/commit/45e73d324aeb507c49f37e5da2194941c79ec8a2) kernel: event queue improvements ### 📊 Changes **11 files changed** (+114 additions, -47 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/gnmdriver/gnmdriver.cpp` (+19 -8) 📝 `src/core/libraries/kernel/event_queue.cpp` (+16 -13) 📝 `src/core/libraries/kernel/event_queues.cpp` (+27 -3) 📝 `src/core/libraries/kernel/event_queues.h` (+2 -0) 📝 `src/core/libraries/kernel/libkernel.cpp` (+2 -0) 📝 `src/core/libraries/videoout/driver.cpp` (+7 -0) 📝 `src/core/libraries/videoout/driver.h` (+1 -0) 📝 `src/core/libraries/videoout/video_out.cpp` (+27 -0) 📝 `src/core/libraries/videoout/video_out.h` (+1 -0) 📝 `src/core/platform.h` (+10 -9) 📝 `src/video_core/amdgpu/liverpool.h` (+2 -14) </details> ### 📄 Description ### GnmDriver - Submission lock moved out from GPU as it needs to be accessed by internal driver functions - Added `sceGnmAreSubmitsAllowed` ### VideoOut - Added `sceVideoOutAddVblankEvent` ### Kernel - Added `sceKernelAddUserEvent` and `sceKernelGetEventUserData` - Event processing now works with multiple events ### Platform - Added option to register several listeners to the same IRQ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:12:07 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#1331
No description provided.