[PATCH v3 3/3] d2d1: Acquire lock before attempt to draw to device context