Displaying 4 results from an estimated 4 matches for "del_lru".
2019 Sep 06
4
Xorg indefinitely hangs in kernelspace
...x410/0x410
> [354073.762261] ? __kthread_parkme+0x70/0x70
> [354073.762262] ret_from_fork+0x35/0x40
>
--- a/drivers/gpu/drm/ttm/ttm_execbuf_util.c
+++ b/drivers/gpu/drm/ttm/ttm_execbuf_util.c
@@ -97,8 +97,9 @@ int ttm_eu_reserve_buffers(struct ww_acq
struct list_head *dups, bool del_lru)
{
struct ttm_bo_global *glob;
- struct ttm_validate_buffer *entry;
+ struct ttm_validate_buffer *entry, *last_entry;
int ret;
+ bool locked = false;
if (list_empty(list))
return 0;
@@ -112,7 +113,10 @@ int ttm_eu_reserve_buffers(struct ww_acq
list_for_each_entry(entry, list, head) {...
2019 Sep 06
4
Xorg indefinitely hangs in kernelspace
...x410/0x410
> [354073.762261] ? __kthread_parkme+0x70/0x70
> [354073.762262] ret_from_fork+0x35/0x40
>
--- a/drivers/gpu/drm/ttm/ttm_execbuf_util.c
+++ b/drivers/gpu/drm/ttm/ttm_execbuf_util.c
@@ -97,8 +97,9 @@ int ttm_eu_reserve_buffers(struct ww_acq
struct list_head *dups, bool del_lru)
{
struct ttm_bo_global *glob;
- struct ttm_validate_buffer *entry;
+ struct ttm_validate_buffer *entry, *last_entry;
int ret;
+ bool locked = false;
if (list_empty(list))
return 0;
@@ -112,7 +113,10 @@ int ttm_eu_reserve_buffers(struct ww_acq
list_for_each_entry(entry, list, head) {...
2019 Sep 06
0
[Spice-devel] Xorg indefinitely hangs in kernelspace
...__kthread_parkme+0x70/0x70
> > [354073.762262] ret_from_fork+0x35/0x40
> >
>
> --- a/drivers/gpu/drm/ttm/ttm_execbuf_util.c
> +++ b/drivers/gpu/drm/ttm/ttm_execbuf_util.c
> @@ -97,8 +97,9 @@ int ttm_eu_reserve_buffers(struct ww_acq
> struct list_head *dups, bool del_lru)
> {
> struct ttm_bo_global *glob;
> - struct ttm_validate_buffer *entry;
> + struct ttm_validate_buffer *entry, *last_entry;
> int ret;
> + bool locked = false;
>
> if (list_empty(list))
> return 0;
> @@ -112,7 +113,10 @@ int ttm_eu_reserve_buffers(struct...
2019 Sep 09
0
Xorg indefinitely hangs in kernelspace
Hi,
--verbose please. Do you see the same hang? Does the patch fix it?
> --- a/drivers/gpu/drm/ttm/ttm_execbuf_util.c
> +++ b/drivers/gpu/drm/ttm/ttm_execbuf_util.c
> @@ -97,8 +97,9 @@ int ttm_eu_reserve_buffers(struct ww_acq
> struct list_head *dups, bool del_lru)
[ ... ]
> + if (locked)
> + ttm_eu_backoff_reservation_reverse(list, entry);
Hmm, I think the patch is wrong. As far I know it is the qxl drivers's
job to call ttm_eu_backoff_reservation(). Doing that automatically in
ttm will most likely break other ttm users.
So I guess the c...