Xのドライバのソースの修正箇所は以下の通り。
AAAA@XXXX:/usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-31486f40f8e8f8923ca0799aea84b58799754564/src/uxa % diff -c6 intel_uxa.c*
*** intel_uxa.c Sat Nov 26 18:06:04 2022
--- intel_uxa.c~ Sat Jan 16 05:59:05 2021
***************
*** 657,669 ****
height = ALIGN(pixmap->drawable.height, height);
size = intel_get_fence_size(intel, intel_pixmap_pitch(pixmap) * height);
} else
size = intel_pixmap_pitch(pixmap) * pixmap->drawable.height;
! if (bo->size < size ) {
xf86DrvMsg(scrn->scrnIndex, X_ERROR,
"%s: size of buffer object does not match constraints: size=%ld, must be greater than %d, but less than %d\n",
__FUNCTION__, (long)bo->size, size, intel->max_bo_size);
bo = NULL;
goto free_priv;
}
--- 657,669 ----
height = ALIGN(pixmap->drawable.height, height);
size = intel_get_fence_size(intel, intel_pixmap_pitch(pixmap) * height);
} else
size = intel_pixmap_pitch(pixmap) * pixmap->drawable.height;
! if (bo->size < size || bo->size > intel->max_bo_size) {
xf86DrvMsg(scrn->scrnIndex, X_ERROR,
"%s: size of buffer object does not match constraints: size=%ld, must be greater than %d, but less than %d\n",
__FUNCTION__, (long)bo->size, size, intel->max_bo_size);
bo = NULL;
goto free_priv;
}
AAAA@XXXX#