mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-03 00:00:25 +01:00
Intialize swizzled_surface object
This commit is contained in:
parent
2ab5e69f16
commit
72b90b7894
1 changed files with 4 additions and 0 deletions
|
|
@ -276,6 +276,10 @@ nouveau_surface_channel_create_nv04(struct nouveau_channel_context *nvc)
|
|||
}
|
||||
|
||||
BIND_RING (chan, nvc->NvSwzSurf, nvc->next_subchannel++);
|
||||
BEGIN_RING(chan, nvc->NvSwzSurf, NV04_SWIZZLED_SURFACE_DMA_NOTIFY, 1);
|
||||
OUT_RING (chan, nvc->sync_notifier->handle);
|
||||
BEGIN_RING(chan, nvc->NvSwzSurf, NV04_SWIZZLED_SURFACE_DMA_IMAGE, 1);
|
||||
OUT_RING (chan, nvc->channel->vram->handle);
|
||||
|
||||
if (chipset < 0x10) {
|
||||
class = NV04_SCALED_IMAGE_FROM_MEMORY;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue