search for: blockh

Displaying 20 results from an estimated 22 matches for "blockh".

Did you mean: block
2019 Dec 11
2
[PATCH 3/3] drm/nouveau: Support NVIDIA format modifiers
...wndw_atomic_check_acquire(struct nv50_wndw *wndw, bool modeset, > if (asyw->image.kind) { > asyw->image.layout = 0; > if (drm->client.device.info.chipset >= 0xc0) > - asyw->image.blockh = fb->nvbo->mode >> 4; > + asyw->image.blockh = fb->tile_mode >> 4; > else > - asyw->image.blockh = fb->nvbo->mode; > + asyw->image.block...
2019 Dec 11
0
[PATCH 3/3] drm/nouveau: Support NVIDIA format modifiers
...t;kind; ret = nv50_wndw_atomic_check_acquire_rgb(asyw); if (ret) { @@ -255,9 +255,9 @@ nv50_wndw_atomic_check_acquire(struct nv50_wndw *wndw, bool modeset, if (asyw->image.kind) { asyw->image.layout = 0; if (drm->client.device.info.chipset >= 0xc0) - asyw->image.blockh = fb->nvbo->mode >> 4; + asyw->image.blockh = fb->tile_mode >> 4; else - asyw->image.blockh = fb->nvbo->mode; + asyw->image.blockh = fb->tile_mode; asyw->image.blocks[0] = fb->base.pitches[0] / 64; asyw->image.pitch[0] = 0; } e...
2019 Dec 13
0
[PATCH 3/3] drm/nouveau: Support NVIDIA format modifiers
...cquire(struct nv50_wndw *wndw, bool modeset, >> if (asyw->image.kind) { >> asyw->image.layout = 0; >> if (drm->client.device.info.chipset >= 0xc0) >> - asyw->image.blockh = fb->nvbo->mode >> 4; >> + asyw->image.blockh = fb->tile_mode >> 4; >> else >> - asyw->image.blockh = fb->nvbo->mode; >> + asy...
2020 Feb 06
5
[PATCH 4/4] drm/nouveau: Remove struct nouveau_framebuffer
...;image.w = fb->width; > + asyw->image.h = fb->height; > asyw->image.kind = nvbo->kind; > > ret = nv50_wndw_atomic_check_acquire_rgb(asyw); > @@ -261,13 +261,13 @@ nv50_wndw_atomic_check_acquire(struct nv50_wndw *wndw, bool modeset, > asyw->image.blockh = nvbo->mode >> 4; > else > asyw->image.blockh = nvbo->mode; > - asyw->image.blocks[0] = fb->base.pitches[0] / 64; > + asyw->image.blocks[0] = fb->pitches[0] / 64; > asyw->image.pitch[0] = 0; > } else { > asyw->image...
2020 Feb 06
2
[PATCH 4/4] drm/nouveau: Remove struct nouveau_framebuffer
...>>> ????????? asyw->image.kind = nvbo->kind; >>> ? ????????? ret = nv50_wndw_atomic_check_acquire_rgb(asyw); >>> @@ -261,13 +261,13 @@ nv50_wndw_atomic_check_acquire(struct nv50_wndw >>> *wndw, bool modeset, >>> ????????????????? asyw->image.blockh = nvbo->mode >> 4; >>> ????????????? else >>> ????????????????? asyw->image.blockh = nvbo->mode; >>> -??????????? asyw->image.blocks[0] = fb->base.pitches[0] / 64; >>> +??????????? asyw->image.blocks[0] = fb->pitches[0] / 64; >>...
2020 Feb 06
2
[PATCH 4/4] drm/nouveau: Remove struct nouveau_framebuffer
...ght; >>> ????????? asyw->image.kind = nvbo->kind; >>> ????????? ret = nv50_wndw_atomic_check_acquire_rgb(asyw); >>> @@ -261,13 +261,13 @@ nv50_wndw_atomic_check_acquire(struct nv50_wndw >>> *wndw, bool modeset, >>> ????????????????? asyw->image.blockh = nvbo->mode >> 4; >>> ????????????? else >>> ????????????????? asyw->image.blockh = nvbo->mode; >>> -??????????? asyw->image.blocks[0] = fb->base.pitches[0] / 64; >>> +??????????? asyw->image.blocks[0] = fb->pitches[0] / 64; >>&g...
2020 Feb 10
2
[PATCH 4/4] drm/nouveau: Remove struct nouveau_framebuffer
...age.kind = nvbo->kind; > >>>> ret = nv50_wndw_atomic_check_acquire_rgb(asyw); > >>>> @@ -261,13 +261,13 @@ nv50_wndw_atomic_check_acquire(struct nv50_wndw > >>>> *wndw, bool modeset, > >>>> asyw->image.blockh = nvbo->mode >> 4; > >>>> else > >>>> asyw->image.blockh = nvbo->mode; > >>>> - asyw->image.blocks[0] = fb->base.pitches[0] / 64; > >>>> + asyw->image.blocks[0...
2019 Dec 11
5
[PATCH 0/3] drm/nouveau: Support NVIDIA format modifiers
This series modifies the NV5x+ nouveau display backends to advertise appropriate format modifiers on their display planes in atomic mode setting blobs. Corresponding modifications to Mesa/userspace are available here: https://gitlab.freedesktop.org/cubanismo/mesa/tree/nouveau_work But those need a bit of cleanup before they're ready to submit. I've tested this on Tesla, Kepler, Pascal,
2020 Feb 10
2
[PATCH 4/4] drm/nouveau: Remove struct nouveau_framebuffer
...>>>>>> ret = nv50_wndw_atomic_check_acquire_rgb(asyw); >>>>>>> @@ -261,13 +261,13 @@ nv50_wndw_atomic_check_acquire(struct nv50_wndw >>>>>>> *wndw, bool modeset, >>>>>>> asyw->image.blockh = nvbo->mode >> 4; >>>>>>> else >>>>>>> asyw->image.blockh = nvbo->mode; >>>>>>> - asyw->image.blocks[0] = fb->base.pitches[0] / 64; >>>>>>> +...
2020 Feb 06
0
[PATCH 4/4] drm/nouveau: Remove struct nouveau_framebuffer
...;visible || modeset) { + asyw->image.w = fb->width; + asyw->image.h = fb->height; asyw->image.kind = nvbo->kind; ret = nv50_wndw_atomic_check_acquire_rgb(asyw); @@ -261,13 +261,13 @@ nv50_wndw_atomic_check_acquire(struct nv50_wndw *wndw, bool modeset, asyw->image.blockh = nvbo->mode >> 4; else asyw->image.blockh = nvbo->mode; - asyw->image.blocks[0] = fb->base.pitches[0] / 64; + asyw->image.blocks[0] = fb->pitches[0] / 64; asyw->image.pitch[0] = 0; } else { asyw->image.layout = 1; asyw->image.blockh =...
2020 Feb 06
5
[PATCH 0/4] drm/nouveau: Remove struct nouveau_framebuffer
All fields in struct nouveau_framebuffer appear to be obsolete. The data structure can be replaced by struct drm_framebuffer entirely. Patch 1 removes several unused fields from struct nouveau_framebuffer. Patch 2 moves the field vma to struct nouveau_fbdev. The information in vma is only relevant for fbdev emulation, and as such he field is only used there. Patch 3 removes nvbo from struct
2020 Feb 06
0
[PATCH 4/4] drm/nouveau: Remove struct nouveau_framebuffer
...image.h = fb->height; >> ????????? asyw->image.kind = nvbo->kind; >> ????????? ret = nv50_wndw_atomic_check_acquire_rgb(asyw); >> @@ -261,13 +261,13 @@ nv50_wndw_atomic_check_acquire(struct nv50_wndw >> *wndw, bool modeset, >> ????????????????? asyw->image.blockh = nvbo->mode >> 4; >> ????????????? else >> ????????????????? asyw->image.blockh = nvbo->mode; >> -??????????? asyw->image.blocks[0] = fb->base.pitches[0] / 64; >> +??????????? asyw->image.blocks[0] = fb->pitches[0] / 64; >> ????????????? asy...
2020 Feb 06
0
[PATCH 4/4] drm/nouveau: Remove struct nouveau_framebuffer
...mage.h = fb->height; >> ????????? asyw->image.kind = nvbo->kind; >> ? ????????? ret = nv50_wndw_atomic_check_acquire_rgb(asyw); >> @@ -261,13 +261,13 @@ nv50_wndw_atomic_check_acquire(struct nv50_wndw >> *wndw, bool modeset, >> ????????????????? asyw->image.blockh = nvbo->mode >> 4; >> ????????????? else >> ????????????????? asyw->image.blockh = nvbo->mode; >> -??????????? asyw->image.blocks[0] = fb->base.pitches[0] / 64; >> +??????????? asyw->image.blocks[0] = fb->pitches[0] / 64; >> ????????????? asy...
2020 Feb 07
0
[PATCH 4/4] drm/nouveau: Remove struct nouveau_framebuffer
...???????? asyw->image.kind = nvbo->kind; >>>> ?? ????????? ret = nv50_wndw_atomic_check_acquire_rgb(asyw); >>>> @@ -261,13 +261,13 @@ nv50_wndw_atomic_check_acquire(struct nv50_wndw >>>> *wndw, bool modeset, >>>> ?????????????????? asyw->image.blockh = nvbo->mode >> 4; >>>> ?????????????? else >>>> ?????????????????? asyw->image.blockh = nvbo->mode; >>>> -??????????? asyw->image.blocks[0] = fb->base.pitches[0] / 64; >>>> +??????????? asyw->image.blocks[0] = fb->pitches[0...
2020 Feb 06
0
[PATCH 4/4] drm/nouveau: Remove struct nouveau_framebuffer
...asyw->image.kind = nvbo->kind; > >>> ret = nv50_wndw_atomic_check_acquire_rgb(asyw); > >>> @@ -261,13 +261,13 @@ nv50_wndw_atomic_check_acquire(struct nv50_wndw > >>> *wndw, bool modeset, > >>> asyw->image.blockh = nvbo->mode >> 4; > >>> else > >>> asyw->image.blockh = nvbo->mode; > >>> - asyw->image.blocks[0] = fb->base.pitches[0] / 64; > >>> + asyw->image.blocks[0] = fb->pitches...
2020 Feb 10
0
[PATCH 4/4] drm/nouveau: Remove struct nouveau_framebuffer
...vbo->kind; >>>>>> ret = nv50_wndw_atomic_check_acquire_rgb(asyw); >>>>>> @@ -261,13 +261,13 @@ nv50_wndw_atomic_check_acquire(struct nv50_wndw >>>>>> *wndw, bool modeset, >>>>>> asyw->image.blockh = nvbo->mode >> 4; >>>>>> else >>>>>> asyw->image.blockh = nvbo->mode; >>>>>> - asyw->image.blocks[0] = fb->base.pitches[0] / 64; >>>>>> + asyw->im...
2020 Feb 10
0
[PATCH 4/4] drm/nouveau: Remove struct nouveau_framebuffer
...;>> ret = nv50_wndw_atomic_check_acquire_rgb(asyw); > >>>>>>> @@ -261,13 +261,13 @@ nv50_wndw_atomic_check_acquire(struct nv50_wndw > >>>>>>> *wndw, bool modeset, > >>>>>>> asyw->image.blockh = nvbo->mode >> 4; > >>>>>>> else > >>>>>>> asyw->image.blockh = nvbo->mode; > >>>>>>> - asyw->image.blocks[0] = fb->base.pitches[0] / 64; > >>>&gt...
2020 Feb 06
0
[PATCH 3/4] drm/nouveau: Remove field nvbo from struct nouveau_framebuffer
...t;kind; ret = nv50_wndw_atomic_check_acquire_rgb(asyw); if (ret) { @@ -255,9 +258,9 @@ nv50_wndw_atomic_check_acquire(struct nv50_wndw *wndw, bool modeset, if (asyw->image.kind) { asyw->image.layout = 0; if (drm->client.device.info.chipset >= 0xc0) - asyw->image.blockh = fb->nvbo->mode >> 4; + asyw->image.blockh = nvbo->mode >> 4; else - asyw->image.blockh = fb->nvbo->mode; + asyw->image.blockh = nvbo->mode; asyw->image.blocks[0] = fb->base.pitches[0] / 64; asyw->image.pitch[0] = 0; } else {...
2020 Feb 05
3
[PATCH v3 0/3] drm/nouveau: Support NVIDIA format modifiers
This series modifies the NV5x+ nouveau display backends to advertise appropriate format modifiers on their display planes in atomic mode setting blobs. Corresponding modifications to Mesa/userspace are available on the Mesa-dev mailing list as the series: nouveau: Improved format modifier support I've tested this on Tesla, Kepler, Pascal, and Turing-class hardware using various formats
2020 Feb 10
3
[PATCH v5 0/3] drm/nouveau: Support NVIDIA format modifiers
This series modifies the NV5x+ nouveau display backends to advertise appropriate format modifiers on their display planes in atomic mode setting blobs. Corresponding modifications to Mesa/userspace are available on the Mesa-dev gitlab merge request 3724: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3724 I've tested this on Tesla, Kepler, Pascal, and Turing-class hardware using