forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
....@@ -182,7 +182,8 @@
182182 if (cmd->dma.guest.ptr.offset % PAGE_SIZE ||
183183 box->x != 0 || box->y != 0 || box->z != 0 ||
184184 box->srcx != 0 || box->srcy != 0 || box->srcz != 0 ||
185
- box->d != 1 || box_count != 1) {
185
+ box->d != 1 || box_count != 1 ||
186
+ box->w > 64 || box->h > 64) {
186187 /* TODO handle none page aligned offsets */
187188 /* TODO handle more dst & src != 0 */
188189 /* TODO handle more then one copy */