Displaying 20 results from an estimated 20 matches for "subchan".
2015 Dec 08
2
[mesa v2 8/9] nvc0: remove allocation of unused sw class
NACK.
This patches breaks MP performance counters on Fermi/Kepler because they
actually use software methods to configure multiplexers. Global perf
counters will also use software methods to init, sample and read
hardware counters, so this SW object is definitely needed.
Instead of removing it, we need to do something like that:
http://paste.awesom.eu/EQeX
Thanks.
On 11/27/2015 02:05 AM,
2009 Dec 25
1
[PATCH] drm/nv50: synchronize user channel after buffer object move on kernel channel
...s/gpu/drm/nouveau/nouveau_channel.c b/drivers/gpu/drm/nouveau/nouveau_channel.c
index 9aaa972..c1ac34b 100644
--- a/drivers/gpu/drm/nouveau/nouveau_channel.c
+++ b/drivers/gpu/drm/nouveau/nouveau_channel.c
@@ -414,7 +414,14 @@ nouveau_ioctl_fifo_alloc(struct drm_device *dev, void *data,
init->subchan[0].grclass = 0x0039;
else
init->subchan[0].grclass = 0x5039;
- init->nr_subchan = 1;
+ if (dev_priv->card_type >= NV_50) {
+ init->subchan[1].handle = NvSw;
+ init->subchan[1].grclass = NV50_NVSW;
+ }
+ if (dev_priv->card_type < NV_50)
+ init->nr_subchan = 1;
+ el...
2009 Dec 26
2
[PATCH 1/3] drm/nouveau: Allocate a per-channel instance of NV_SW.
...rs/gpu/drm/nouveau/nouveau_channel.c b/drivers/gpu/drm/nouveau/nouveau_channel.c
index 9aaa972..4f378b6 100644
--- a/drivers/gpu/drm/nouveau/nouveau_channel.c
+++ b/drivers/gpu/drm/nouveau/nouveau_channel.c
@@ -414,7 +414,9 @@ nouveau_ioctl_fifo_alloc(struct drm_device *dev, void *data,
init->subchan[0].grclass = 0x0039;
else
init->subchan[0].grclass = 0x5039;
- init->nr_subchan = 1;
+ init->subchan[1].handle = NvSw;
+ init->subchan[1].grclass = NV_SW;
+ init->nr_subchan = 2;
/* Named memory object area */
ret = drm_gem_handle_create(file_priv, chan->notifier_bo->...
2009 Dec 27
3
[PATCH 1/2] drm/nv50: align size of buffer object to the right boundaries.
- Depth and stencil buffers are supposed to be large enough in general.
Signed-off-by: Maarten Maathuis <madman2003 at gmail.com>
---
drivers/gpu/drm/nouveau/nouveau_bo.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c
index e342a41..9fc4bd6 100644
---
2023 Jul 31
3
[PATCH] drm/nouveau: fixup the uapi header file.
...lt; 1)
#define NOUVEAU_GEM_DOMAIN_GART (1 << 2)
-struct drm_nouveau_channel_alloc {
- uint32_t fb_ctxdma_handle;
- uint32_t tt_ctxdma_handle;
-
- int channel;
- uint32_t pushbuf_domains;
-
- /* Notifier memory */
- uint32_t notifier_handle;
-
- /* DRM-enforced subchannel assignments */
- struct {
- uint32_t handle;
- uint32_t grclass;
- } subchan[8];
- uint32_t nr_subchan;
-};
-
-struct drm_nouveau_channel_free {
- int channel;
-};
-
struct drm_nouveau_grobj_alloc {
int channel;
uint32_t handle;
@@ -83,31 +61,12 @@ struct drm_nouveau_gpuobj_free {...
2020 Aug 28
4
[PATCH] drm/nouveau: bail out of nouveau_channel_new if channel init fails
...---
/*
* gcc -o crashme crashme.c
* ./crashme /dev/dri/renderD128
*/
struct drm_nouveau_channel_alloc {
uint32_t fb_ctxdma_handle;
uint32_t tt_ctxdma_handle;
int channel;
uint32_t pushbuf_domains;
/* Notifier memory */
uint32_t notifier_handle;
/* DRM-enforced subchannel assignments */
struct {
uint32_t handle;
uint32_t grclass;
} subchan[8];
uint32_t nr_subchan;
};
static struct drm_nouveau_channel_alloc channel;
int main(int argc, char *argv[]) {
int fd;
int rv;
if (argc != 2)
die("usage: %s <dev>", 0, argv[0]);
if ((fd = open(...
2016 Nov 13
3
[Bug 98709] New: [NV50] clocksource: timekeeping watchdog on CPU2: Marking clocksource 'tsc' as unstable because the skew is too large
https://bugs.freedesktop.org/show_bug.cgi?id=98709
Bug ID: 98709
Summary: [NV50] clocksource: timekeeping watchdog on CPU2:
Marking clocksource 'tsc' as unstable because the skew
is too large
Product: Mesa
Version: 12.0
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status:
2020 Nov 15
1
[PATCH] drm/nouveau: bail out of nouveau_channel_new if channel init fails
...fb_ctxdma_handle;
> > uint32_t tt_ctxdma_handle;
> >
> > int channel;
> > uint32_t pushbuf_domains;
> >
> > /* Notifier memory */
> > uint32_t notifier_handle;
> >
> > /* DRM-enforced subchannel assignments */
> > struct {
> > uint32_t handle;
> > uint32_t grclass;
> > } subchan[8];
> > uint32_t nr_subchan;
> > };
> >
> > static struct drm_nouveau_channel_alloc channel;
> >
> > int...
2019 May 27
2
[PATCH v2 3/8] s390/cio: add basic protected virtualization support
...gt; > should at least exercise this code path.]
>
> I've already had some thoughts along these lines and slapped
> -device x-terminal3270,chardev=char_0,devno=fe.0.000a,id=terminal_0 \
> on my qemu command line. The ccw device does show up in the guest...
>
> Device Subchan. DevType CU Type Use PIM PAM POM CHPIDs
> ----------------------------------------------------------------------
> 0.0.0000 0.0.0000 0000/00 3832/01 yes 80 80 ff 00000000 00000000
> 0.0.000a 0.0.0001 0000/00 3270/00 80 80 ff 01000000 00000000
> 0.0.0002 0.0.0002 00...
2019 May 27
2
[PATCH v2 3/8] s390/cio: add basic protected virtualization support
...gt; > should at least exercise this code path.]
>
> I've already had some thoughts along these lines and slapped
> -device x-terminal3270,chardev=char_0,devno=fe.0.000a,id=terminal_0 \
> on my qemu command line. The ccw device does show up in the guest...
>
> Device Subchan. DevType CU Type Use PIM PAM POM CHPIDs
> ----------------------------------------------------------------------
> 0.0.0000 0.0.0000 0000/00 3832/01 yes 80 80 ff 00000000 00000000
> 0.0.000a 0.0.0001 0000/00 3270/00 80 80 ff 01000000 00000000
> 0.0.0002 0.0.0002 00...
2017 Dec 07
3
[PATCH 0/1] suspend/resume for virtio_ccw
With this patch I can suspend/resume a KVM guest.
[root at test ~]# cd /sys/power/
[root at test power]# echo test_resume > disk
[root at test power]# lscss
Device Subchan. DevType CU Type Use PIM PAM POM CHPIDs
----------------------------------------------------------------------
0.0.0003 0.0.0000 0000/00 3832/03 yes 80 80 ff 00000000 00000000
0.0.0000 0.0.0001 0000/00 3832/02 yes 80 80 ff 00000000 00000000
0.0.0001 0.0.0002 0000/00 3832/...
2017 Dec 07
3
[PATCH 0/1] suspend/resume for virtio_ccw
With this patch I can suspend/resume a KVM guest.
[root at test ~]# cd /sys/power/
[root at test power]# echo test_resume > disk
[root at test power]# lscss
Device Subchan. DevType CU Type Use PIM PAM POM CHPIDs
----------------------------------------------------------------------
0.0.0003 0.0.0000 0000/00 3832/03 yes 80 80 ff 00000000 00000000
0.0.0000 0.0.0001 0000/00 3832/02 yes 80 80 ff 00000000 00000000
0.0.0001 0.0.0002 0000/00 3832/...
2015 Nov 16
0
[Bug 92971] [GF110] KDE plasma locks randomly due to crash of nouveau driver
...d=92971
--- Comment #4 from Ilia Mirkin <imirkin at alum.mit.edu> ---
Nov 14 19:06:12 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 80000000 []
ch 30 [007e6ab000 kscreenlocker_g[4257]] subc 6 mthd 2878 data a0c02020
A few things wrong with this picture... first off, nouveau never uses
subchannel 6.
Method 2878 is: lookup -a c8 -d SUBCHAN -- -v obj-class GF100_3D 2878
TFB_VARYING_LOCS[0][0x1e] => 0
But those are all emitted in one fell swoop, starting from 2800. No way
something could get into the middle of that and screw up the channel on just
that one. (Since they don't have i...
2019 May 27
0
[PATCH v2 3/8] s390/cio: add basic protected virtualization support
...nsole is unlikely to work, but that
> should at least exercise this code path.]
I've already had some thoughts along these lines and slapped
-device x-terminal3270,chardev=char_0,devno=fe.0.000a,id=terminal_0 \
on my qemu command line. The ccw device does show up in the guest...
Device Subchan. DevType CU Type Use PIM PAM POM CHPIDs
----------------------------------------------------------------------
0.0.0000 0.0.0000 0000/00 3832/01 yes 80 80 ff 00000000 00000000
0.0.000a 0.0.0001 0000/00 3270/00 80 80 ff 01000000 00000000
0.0.0002 0.0.0002 0000/00 3832/09 yes 8...
2019 May 27
3
[PATCH v2 3/8] s390/cio: add basic protected virtualization support
...Does basic recognition work if you start a protected virt guest with a
3270 console? I realize that the console is unlikely to work, but that
should at least exercise this code path.]
> + if (!io_priv->dma_area)
> + goto err_dma_area;
> set_io_private(sch, io_priv);
> cdev = io_subchannel_create_ccwdev(sch);
> if (IS_ERR(cdev)) {
> put_device(&sch->dev);
> + dma_free_coherent(&sch->dev, sizeof(*io_priv->dma_area),
> + io_priv->dma_area, io_priv->dma_area_dma);
> kfree(io_priv);
> return cdev;
> }
> cdev->drv =...
2019 May 27
3
[PATCH v2 3/8] s390/cio: add basic protected virtualization support
...Does basic recognition work if you start a protected virt guest with a
3270 console? I realize that the console is unlikely to work, but that
should at least exercise this code path.]
> + if (!io_priv->dma_area)
> + goto err_dma_area;
> set_io_private(sch, io_priv);
> cdev = io_subchannel_create_ccwdev(sch);
> if (IS_ERR(cdev)) {
> put_device(&sch->dev);
> + dma_free_coherent(&sch->dev, sizeof(*io_priv->dma_area),
> + io_priv->dma_area, io_priv->dma_area_dma);
> kfree(io_priv);
> return cdev;
> }
> cdev->drv =...
2019 Jun 09
1
Questions on syncing mechanisms
So I have been implementing syncing mechanisms to yuzu's switch emulator,
aka Tegra X1 emulation and I already have: Semaphores, Syncpoints and
Queries to some extent. I'm missing the barriers (GPU waits for CPU):
I got this from RE:
Barrier mode has priority (from highest to lowest): 1) 0x08 sets needsWfi=0
-> highest priority, does puller refcnt + split(0,0) + 0x100 NoOperation +
rest
2020 Nov 15
0
[PATCH] drm/nouveau: bail out of nouveau_channel_new if channel init fails
...28
> */
>
> struct drm_nouveau_channel_alloc {
> uint32_t fb_ctxdma_handle;
> uint32_t tt_ctxdma_handle;
>
> int channel;
> uint32_t pushbuf_domains;
>
> /* Notifier memory */
> uint32_t notifier_handle;
>
> /* DRM-enforced subchannel assignments */
> struct {
> uint32_t handle;
> uint32_t grclass;
> } subchan[8];
> uint32_t nr_subchan;
> };
>
> static struct drm_nouveau_channel_alloc channel;
>
> int main(int argc, char *argv[]) {
> int fd;
> int rv;
>
> if (argc != 2)
&...
2019 May 29
0
[PATCH v2 3/8] s390/cio: add basic protected virtualization support
...least exercise this code path.]
>>
>> I've already had some thoughts along these lines and slapped
>> -device x-terminal3270,chardev=char_0,devno=fe.0.000a,id=terminal_0 \
>> on my qemu command line. The ccw device does show up in the guest...
>>
>> Device Subchan. DevType CU Type Use PIM PAM POM CHPIDs
>> ----------------------------------------------------------------------
>> 0.0.0000 0.0.0000 0000/00 3832/01 yes 80 80 ff 00000000 00000000
>> 0.0.000a 0.0.0001 0000/00 3270/00 80 80 ff 01000000 00000000
>> 0.0.000...
2013 Oct 11
29
[Bug 70390] New: G84: Repeated system crashes under graphics load, E[PFIFO] DMA_PUSHER and lots of E[PGRAPH]
https://bugs.freedesktop.org/show_bug.cgi?id=70390
Priority: medium
Bug ID: 70390
Assignee: nouveau at lists.freedesktop.org
Summary: G84: Repeated system crashes under graphics load,
E[PFIFO] DMA_PUSHER and lots of E[PGRAPH]
QA Contact: xorg-team at lists.x.org
Severity: normal
Classification: Unclassified