forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-20 e636c8d336489bf3eed5878299e6cc045bbad077
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 */