40.4.1.4 Ring Buffer Disable

Use the following software procedure to halt the GFX2D:

  1. Wait for command completion by polling the GFX2D_GS.BUSY bit.
  2. Disable the ring buffer by writing ‘1’ to GFX2D_GD.DISABLE.
  3. Reset the tail and head pointers by writing ‘0’ to GFX2D_HEAD.HEAD and GFX2D_TAIL.TAIL.