1. An apparatus for graphics processing, the apparatus comprising: a memory comprising an unsecure portion and a secure portion; a memory controller comprising a secure context bank and an unsecure context bank, wherein the secure context bank includes read-only page table entries to the unsecure portion of the memory and read/write page table entries to the secure portion of the memory, the unsecure context bank includes read-only page table entries to the unsecure portion of the memory, and the memory controller is configured to issue a page fault when a request to write data into an address contained within the read-only page table entries of the secure context bank is received; and a graphics processing unit (GPU) configured to access the memory according to one of an unsecure mode and a secure mode, the GPU comprising: a memory access controller configured to direct memory transactions from at least one hardware unit of the GPU to the secure context bank in the memory controller when the GPU is operating in the secure mode, and configured to direct memory transactions from the at least one hardware unit of the GPU to the unsecure context bank in the memory controller when the GPU is operating in the unsecure mode.