The following must be performed to create a 16-byte aligned memory-mapped entry table containing all entries of the defined area (see Figure 15-40):
- Create a 16-byte aligned memory-mapped descriptor structure where:
- The next field is set to NULL.
- The area field is set with the relevant (x0, y0) (x1, y1) area definition.
- The ctrl field is set with the requested direction D, with the requested LUT ID L if multiple LUTs are present in the system, and the START bit is asserted to start refilling as soon as this descriptor enters the PAT refill engine.
- The data field is set to the physical address of the created entry table.
- Write the DMM_PAT_DESCR_i register with the physical address of the created descriptor.
- The refill is done when the DMM_PAT_STATUS_i[3] DONE bit is set.
- A new refill can be initiated when the DMM_PAT_STATUS_i[0] READY bit is set.