dfr: add new drm_fb_blit arg

Cc: @kekrby i hope this is the right way to do it, I'm just guessing based off of how other callers of the function do it now.
This commit is contained in:
Orlando Chamberlain
2024-03-11 23:23:09 +11:00
committed by Aditya Garg
parent aa1cc80273
commit 7d0789ea7d
@@ -435,7 +435,7 @@ index 000000000..33a99436b
+ frame->buf_size = cpu_to_le32(buf_size);
+
+ ret = drm_fb_blit(&dst, NULL, DRM_FORMAT_BGR888,
+ &shadow_plane_state->data[0], fb, &damage);
+ &shadow_plane_state->data[0], fb, &damage, &shadow_plane_state->fmtcnv_state);
+ if (ret) {
+ drm_err(drm, "Failed to copy damage clip (%pe)\n", ERR_PTR(ret));
+ goto end_fb_cpu_access;