Displaying 1 result from an estimated 1 matches for "blit_class".
Did you mean:
bin_class
2023 May 15
0
[PATCH] drm/nouveau: bring back blit subchannel for pre nv50 GPUs
...veau/nouveau_drm.c
@@ -369,15 +369,28 @@ nouveau_accel_gr_init(struct nouveau_drm *drm)
ret = nvif_object_ctor(&drm->channel->user, "drmNvsw",
NVDRM_NVSW, nouveau_abi16_swclass(drm),
NULL, 0, &drm->channel->nvsw);
+
+ if (ret == 0) {
+ u32 blit_class = device->info.chipset >= 0x11 ? 0x009f : 0x005f;
+ ret = nvif_object_ctor(&drm->channel->user, "drmBlit",
+ 0x005f, blit_class,
+ NULL, 0, &drm->channel->blit);
+ }
+
if (ret == 0) {
struct nvif_push *push = drm->channel->ch...