NVDRV: Refactor Host1x

This commit is contained in:
Fernando Sahmkow
2022-01-30 22:26:01 +01:00
parent 668e80a9f4
commit 2931101e6f
33 changed files with 201 additions and 173 deletions

View File

@ -9,10 +9,10 @@
namespace Tegra {
class GPU;
namespace Host1x {
class Host1x;
struct SyncptIncr {
u32 id;
u32 class_id;
@ -25,7 +25,7 @@ struct SyncptIncr {
class SyncptIncrManager {
public:
explicit SyncptIncrManager(GPU& gpu);
explicit SyncptIncrManager(Host1x& host1x);
~SyncptIncrManager();
/// Add syncpoint id and increment all
@ -45,7 +45,7 @@ private:
std::mutex increment_lock;
u32 current_id{};
GPU& gpu;
Host1x& host1x;
};
} // namespace Host1x