[PR #117] [MERGED] video_core: Add basic command list processing #1309

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/117
Author: @raphaelthegreat
Created: 4/29/2024
Status: Merged
Merged: 4/29/2024
Merged by: @raphaelthegreat

Base: mainHead: main


📝 Commits (1)

  • 6367770 video_core: Add basic command list processing

📊 Changes

18 files changed (+1562 additions, -165 deletions)

View changed files

📝 CMakeLists.txt (+8 -1)
LICENSES/BSD-3-Clause.txt (+11 -0)
src/common/bit_field.h (+166 -0)
📝 src/common/native_clock.cpp (+2 -2)
📝 src/core/libraries/gnmdriver/gnmdriver.cpp (+139 -17)
📝 src/core/libraries/gnmdriver/gnmdriver.h (+5 -4)
src/video_core/amdgpu/liverpool.cpp (+95 -0)
src/video_core/amdgpu/liverpool.h (+647 -0)
src/video_core/amdgpu/pixel_format.cpp (+22 -0)
src/video_core/amdgpu/pixel_format.h (+64 -0)
src/video_core/amdgpu/pm4_cmds.h (+290 -0)
src/video_core/amdgpu/pm4_opcodes.h (+62 -0)
src/video_core/amdgpu/resource.h (+33 -0)
src/video_core/pixel_format.h (+0 -86)
📝 src/video_core/texture_cache/image.cpp (+3 -3)
📝 src/video_core/texture_cache/image.h (+0 -1)
📝 src/video_core/texture_cache/image_view.cpp (+3 -34)
📝 src/video_core/texture_cache/image_view.h (+12 -17)

📄 Description

Implements a few PM4 commands and gnm submit call. This means that guest application will no longer be stuck waiting for a command buffer label. Right now commands don't do anything, actual functionality will be added in future PRs. Gnmdriver functions that write private packets have been implemented as close to real module disassembly as possible


🔄 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/117 **Author:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Created:** 4/29/2024 **Status:** ✅ Merged **Merged:** 4/29/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`6367770`](https://github.com/shadps4-emu/shadPS4/commit/636777028c5e81ef3254e6c4ffc830925f0b4297) video_core: Add basic command list processing ### 📊 Changes **18 files changed** (+1562 additions, -165 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+8 -1) ➕ `LICENSES/BSD-3-Clause.txt` (+11 -0) ➕ `src/common/bit_field.h` (+166 -0) 📝 `src/common/native_clock.cpp` (+2 -2) 📝 `src/core/libraries/gnmdriver/gnmdriver.cpp` (+139 -17) 📝 `src/core/libraries/gnmdriver/gnmdriver.h` (+5 -4) ➕ `src/video_core/amdgpu/liverpool.cpp` (+95 -0) ➕ `src/video_core/amdgpu/liverpool.h` (+647 -0) ➕ `src/video_core/amdgpu/pixel_format.cpp` (+22 -0) ➕ `src/video_core/amdgpu/pixel_format.h` (+64 -0) ➕ `src/video_core/amdgpu/pm4_cmds.h` (+290 -0) ➕ `src/video_core/amdgpu/pm4_opcodes.h` (+62 -0) ➕ `src/video_core/amdgpu/resource.h` (+33 -0) ➖ `src/video_core/pixel_format.h` (+0 -86) 📝 `src/video_core/texture_cache/image.cpp` (+3 -3) 📝 `src/video_core/texture_cache/image.h` (+0 -1) 📝 `src/video_core/texture_cache/image_view.cpp` (+3 -34) 📝 `src/video_core/texture_cache/image_view.h` (+12 -17) </details> ### 📄 Description Implements a few PM4 commands and gnm submit call. This means that guest application will no longer be stuck waiting for a command buffer label. Right now commands don't do anything, actual functionality will be added in future PRs. Gnmdriver functions that write private packets have been implemented as close to real module disassembly as possible --- <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:01 +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#1309
No description provided.