Skip to content

Commit

Permalink
Revert "fix: Neutralise DMCUB service on Raven"
Browse files Browse the repository at this point in the history
This reverts commit 90e8fff.
  • Loading branch information
VisualEhrmanntraut committed Nov 26, 2024
1 parent 76f9a64 commit d1b56b0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion NootedRed/PrivateHeaders/iVega/X6000FB.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@ namespace iVega {
static bool wrapIH40IVRingInitHardware(void *ctx, void *param2);
static void wrapIRQMGRWriteRegister(void *ctx, UInt64 index, UInt32 value);
static void *wrapCreateRegisterAccess(void *initData);
static void *wrapCreateDmcubService();
};
}; // namespace iVega
6 changes: 0 additions & 6 deletions NootedRed/iVega/X6000FB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,6 @@ void iVega::X6000FB::processKext(KernelPatcher &patcher, size_t id, mach_vm_addr
kIRQMGRWriteRegisterPattern};
PANIC_COND(!request.route(patcher, id, slide, size), "X6000FB", "Failed to route IRQMGR_WriteRegister");
}
} else {
RouteRequestPlus request {"__ZN18AmdDalDmcubService18createDmcubServiceERKNS_13DmcubInitInfoE",
wrapCreateDmcubService, kCreateDmcubServicePattern};
PANIC_COND(!request.route(patcher, id, slide, size), "X6000FB", "Failed to route createDmcubService");
}

const LookupPatchPlus patch {&kextRadeonX6000Framebuffer, kPopulateDeviceInfoOriginal, kPopulateDeviceInfoMask,
Expand Down Expand Up @@ -491,5 +487,3 @@ void *iVega::X6000FB::wrapCreateRegisterAccess(void *initData) {
getMember<UInt32>(initData, 0x28) = SMUIO_BASE + mmROM_DATA;
return FunctionCast(wrapCreateRegisterAccess, singleton().orgCreateRegisterAccess)(initData);
}

void *iVega::X6000FB::wrapCreateDmcubService() { return nullptr; }

0 comments on commit d1b56b0

Please sign in to comment.