Displaying 13 results from an estimated 13 matches for "has_typ".
Did you mean:
  has_type
  
2017 Aug 27
7
[Bug 102430] New: nv4x - memory problems when starting graphical application - logs included
...supertuxkart[1074]]
subc 7 class 4097 mthd 0208 data 020
[  124.918095] [TTM] Failed to find memory space for buffer 0xffff97a0c738dc00
eviction
[  124.925842] [TTM] No space for ffff97a0c738dc00 (1366 pages, 5464K, 5M)
[  124.932458] [TTM]   placement[0]=0x00070002 (1)
[  124.936978] [TTM]     has_type: 1
[  124.940283] [TTM]     use_type: 1
[  124.943590] [TTM]     flags: 0x0000000A
[  124.947423] [TTM]     gpu_offset: 0x00000000
[  124.951679] [TTM]     size: 131072
[  124.955074] [TTM]     available_caching: 0x00070000
[  124.959940] [TTM]     default_caching: 0x00010000
[  124.967291] [TTM]...
2020 Feb 18
5
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...151edfd8de77..d5885cd609a3 100644
>>> --- a/drivers/gpu/drm/ttm/ttm_bo.c
>>> +++ b/drivers/gpu/drm/ttm/ttm_bo.c
>>> @@ -85,7 +85,6 @@ static void ttm_mem_type_debug(struct 
>>> ttm_bo_device *bdev, struct drm_printer *p
>>> ????? drm_printf(p, "??? has_type: %d\n", man->has_type);
>>> ????? drm_printf(p, "??? use_type: %d\n", man->use_type);
>>> ????? drm_printf(p, "??? flags: 0x%08X\n", man->flags);
>>> -??? drm_printf(p, "??? gpu_offset: 0x%08llX\n", man->gpu_offset);
>>...
2020 Feb 18
2
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...gt;>>> --- a/drivers/gpu/drm/ttm/ttm_bo.c
>>>>> +++ b/drivers/gpu/drm/ttm/ttm_bo.c
>>>>> @@ -85,7 +85,6 @@ static void ttm_mem_type_debug(struct
>>>>> ttm_bo_device *bdev, struct drm_printer *p
>>>>>  ????? drm_printf(p, "??? has_type: %d\n", man->has_type);
>>>>>  ????? drm_printf(p, "??? use_type: %d\n", man->use_type);
>>>>>  ????? drm_printf(p, "??? flags: 0x%08X\n", man->flags);
>>>>> -??? drm_printf(p, "??? gpu_offset: 0x%08llX\n", ma...
2009 Aug 19
1
[PATCH] drm/nouveau: Add a MM for mappable VRAM that isn't usable as scanout.
...uveau_drv.c
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.c
@@ -114,6 +114,8 @@ nouveau_pci_suspend(struct pci_dev *pdev, pm_message_t pm_state)
 
 	NV_INFO(dev, "Evicting buffers...\n");
 	ttm_bo_evict_mm(&dev_priv->ttm.bdev, TTM_PL_VRAM);
+	if (dev_priv->ttm.bdev.man[TTM_PL_PRIV1].has_type)
+		ttm_bo_evict_mm(&dev_priv->ttm.bdev, TTM_PL_PRIV1);
 
 	NV_INFO(dev, "Idling channels...\n");
 	for (i = 0; i < engine->fifo.channels; i++) {
diff --git a/drivers/gpu/drm/nouveau/nouveau_gem.c b/drivers/gpu/drm/nouveau/nouveau_gem.c
index 1c06801..f3baadf 100644
--- a/dr...
2020 Feb 18
2
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
.../drm/ttm/ttm_bo.c
>>>>>>> +++ b/drivers/gpu/drm/ttm/ttm_bo.c
>>>>>>> @@ -85,7 +85,6 @@ static void ttm_mem_type_debug(struct
>>>>>>> ttm_bo_device *bdev, struct drm_printer *p
>>>>>>>  ?????? drm_printf(p, "??? has_type: %d\n", man->has_type);
>>>>>>>  ?????? drm_printf(p, "??? use_type: %d\n", man->use_type);
>>>>>>>  ?????? drm_printf(p, "??? flags: 0x%08X\n", man->flags);
>>>>>>> -??? drm_printf(p, "??? gpu_of...
2015 Mar 13
2
[PATCH] part-list: add support for show partition type
...nes[row] != NULL; ++row)
-      ++nr_rows;
-
-    r = malloc (sizeof *r);
-    if (r == NULL) {
-      reply_with_perror ("malloc");
-      return NULL;
+  /* Old-style.  Start at the line following "^Number", up to the
+   * next blank line.
+   */
+  size_t start = 0, end = 0, has_type = 0, row;
+
+  for (row = 0; lines[row] != NULL; ++row)
+    if (STRPREFIX (lines[row], "Number")) {
+      start = row+1;
+    /* check whether output of parted has 'Type' field */
+    if (strstr (lines[row], "Type"))
+      has_type = 1;
+      break;
     }
-    r-&...
2020 Feb 18
0
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...cd609a3 100644
>>>> --- a/drivers/gpu/drm/ttm/ttm_bo.c
>>>> +++ b/drivers/gpu/drm/ttm/ttm_bo.c
>>>> @@ -85,7 +85,6 @@ static void ttm_mem_type_debug(struct 
>>>> ttm_bo_device *bdev, struct drm_printer *p
>>>> ????? drm_printf(p, "??? has_type: %d\n", man->has_type);
>>>> ????? drm_printf(p, "??? use_type: %d\n", man->use_type);
>>>> ????? drm_printf(p, "??? flags: 0x%08X\n", man->flags);
>>>> -??? drm_printf(p, "??? gpu_offset: 0x%08llX\n", man->gpu_offs...
2020 Feb 18
0
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...5cd609a3 100644
>>>> --- a/drivers/gpu/drm/ttm/ttm_bo.c
>>>> +++ b/drivers/gpu/drm/ttm/ttm_bo.c
>>>> @@ -85,7 +85,6 @@ static void ttm_mem_type_debug(struct
>>>> ttm_bo_device *bdev, struct drm_printer *p
>>>> ????? drm_printf(p, "??? has_type: %d\n", man->has_type);
>>>> ????? drm_printf(p, "??? use_type: %d\n", man->use_type);
>>>> ????? drm_printf(p, "??? flags: 0x%08X\n", man->flags);
>>>> -??? drm_printf(p, "??? gpu_offset: 0x%08llX\n", man->gpu_offs...
2020 Feb 18
0
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...--- a/drivers/gpu/drm/ttm/ttm_bo.c
>>>>>> +++ b/drivers/gpu/drm/ttm/ttm_bo.c
>>>>>> @@ -85,7 +85,6 @@ static void ttm_mem_type_debug(struct
>>>>>> ttm_bo_device *bdev, struct drm_printer *p
>>>>>> ?????? drm_printf(p, "??? has_type: %d\n", man->has_type);
>>>>>> ?????? drm_printf(p, "??? use_type: %d\n", man->use_type);
>>>>>> ?????? drm_printf(p, "??? flags: 0x%08X\n", man->flags);
>>>>>> -??? drm_printf(p, "??? gpu_offset: 0x%08llX...
2015 Mar 13
0
Re: [PATCH] part-list: add support for show partition type
...t; -
> -    r = malloc (sizeof *r);
> -    if (r == NULL) {
> -      reply_with_perror ("malloc");
> -      return NULL;
> +  /* Old-style.  Start at the line following "^Number", up to the
> +   * next blank line.
> +   */
> +  size_t start = 0, end = 0, has_type = 0, row;
> +
> +  for (row = 0; lines[row] != NULL; ++row)
> +    if (STRPREFIX (lines[row], "Number")) {
> +      start = row+1;
> +    /* check whether output of parted has 'Type' field */
> +    if (strstr (lines[row], "Type"))
> +      has_type...
2020 Feb 18
0
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...gt; > > +++ b/drivers/gpu/drm/ttm/ttm_bo.c
> > > > > > > > @@ -85,7 +85,6 @@ static void ttm_mem_type_debug(struct
> > > > > > > > ttm_bo_device *bdev, struct drm_printer *p
> > > > > > > >  ?????? drm_printf(p, "??? has_type: %d\n", man->has_type);
> > > > > > > >  ?????? drm_printf(p, "??? use_type: %d\n", man->use_type);
> > > > > > > >  ?????? drm_printf(p, "??? flags: 0x%08X\n", man->flags);
> > > > > > > > -?...
2014 Sep 02
9
[Bug 83398] New: [NV4B] Screen freeze watching flash site
...d reboot.
Here is the complete dmesg.  There are a lot of :
[  976.757586] [TTM] Failed to find memory space for buffer 0xffff8800cf357c00
eviction
[  976.757593] [TTM] No space for ffff8800cf357c00 (900 pages, 3600K, 3M)
[  976.757595] [TTM]   placement[0]=0x00070002 (1)
[  976.757597] [TTM]     has_type: 1
[  976.757598] [TTM]     use_type: 1
[  976.757599] [TTM]     flags: 0x0000000A
[  976.757600] [TTM]     gpu_offset: 0x00000000
[  976.757601] [TTM]     size: 131072
[  976.757602] [TTM]     available_caching: 0x00070000
[  976.757603] [TTM]     default_caching: 0x00010000
And then :
nouveau...
2020 Jul 15
3
[PATCH 1/4] drm: remove optional dummy function from drivers using TTM
Implementing those is completely unecessary.
Signed-off-by: Christian K?nig <christian.koenig at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c    |  5 -----
 drivers/gpu/drm/drm_gem_vram_helper.c      |  5 -----
 drivers/gpu/drm/qxl/qxl_ttm.c              |  6 ------
 drivers/gpu/drm/radeon/radeon_ttm.c        |  5 -----
 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c | 11 -----------