[COMMON] g2d: add the hwfc
Support hw flow control between MFC and G2D.
The hw flow control is that g2d H/W writes destination,
and inform MFC of written line count of destination,
so MFC could read from destination of G2D even if the
operation is not completed yet.
To support hwfc, driver performs following process.
First, driver get the shared buffer from repeater driver
that has role of shared buffer management and set the
destination before H/W run.
Second, set the reserved job id from 0 to MAX_SHARED_BUF_NUM
that is the same of buffer index received from repeater driver.
Finally, driver set register related HWFC.
Change-Id: If4c646928017db9198448b68745e4e818eb5de6c
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>