Imagination PowerVR SDK Blog

Signal from SGX530 to scheduler


#1

Hi

I am trying to do multitasking with a CPU and a GPU using two threads. One of the threads serves the GPU and the other does some miscellaneous CPU-tasks. The idea is that the scheduler would commence a context switch from the GPU-thread to the CPU-thread when the GPU is rendering or doing some other task that takes long and then switch back when  the GPU is again free to use.

Is there a way to signal the scheduler when the GPU is free and when it is not?

-hnyk