summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2022-04-18 21:07:21 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2022-10-06 21:00:53 +0200
commit8d774e7415fac1153d8944baa2cc250cc4831107 (patch)
treec28efcc3cc27fc399412783b589f7a1f574304c3 /src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h
parentVulkan Texture Cache: Limit render area to the max width/height of the targets. (diff)
downloadyuzu-8d774e7415fac1153d8944baa2cc250cc4831107.tar
yuzu-8d774e7415fac1153d8944baa2cc250cc4831107.tar.gz
yuzu-8d774e7415fac1153d8944baa2cc250cc4831107.tar.bz2
yuzu-8d774e7415fac1153d8944baa2cc250cc4831107.tar.lz
yuzu-8d774e7415fac1153d8944baa2cc250cc4831107.tar.xz
yuzu-8d774e7415fac1153d8944baa2cc250cc4831107.tar.zst
yuzu-8d774e7415fac1153d8944baa2cc250cc4831107.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h
index 51bb7c2cb..4046b0e13 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h
+++ b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h
@@ -24,6 +24,8 @@ public:
NvCore::ChannelType channel_type);
~nvhost_nvdec_common() override;
+ static void Reset();
+
protected:
struct IoctlSetNvmapFD {
s32_le nvmap_fd{};
@@ -117,6 +119,7 @@ protected:
Kernel::KEvent* QueryEvent(u32 event_id) override;
static std::unordered_map<DeviceFD, u32> fd_to_id;
+ u32 channel_syncpoint;
s32_le nvmap_fd{};
u32_le submit_timeout{};
NvCore::Container& core;