How to put work_mem in SDRM?

It could be problematic if LVGL writes something and can’t read it back immediately.
Could it be a caching issue?