Re: [PATCH] drm/ttm: fix busy memory to fail other user v5

2019-05-07 Thread zhoucm1
On 2019年05月07日 17:03, Christian König wrote: [CAUTION: External Email] Ping! in fact, already address your comments, just wait for Prike test result, anyway, send v6 first. -David Marek is going to need this for its GDS patches as well. Christina. Am 30.04.19 um 11:10 schrieb Christian

Re: [PATCH] drm/ttm: fix busy memory to fail other user v5

2019-05-07 Thread Christian König
Ping! Marek is going to need this for its GDS patches as well. Christina. Am 30.04.19 um 11:10 schrieb Christian König: Am 30.04.19 um 09:01 schrieb Chunming Zhou: heavy gpu job could occupy memory long time, which lead other user fail to get memory. basically pick up Christian idea: 1. Re

Re: [PATCH] drm/ttm: fix busy memory to fail other user v5

2019-04-30 Thread Christian König
Am 30.04.19 um 09:01 schrieb Chunming Zhou: heavy gpu job could occupy memory long time, which lead other user fail to get memory. basically pick up Christian idea: 1. Reserve the BO in DC using a ww_mutex ticket (trivial). 2. If we then run into this EBUSY condition in TTM check if the BO we

[PATCH] drm/ttm: fix busy memory to fail other user v5

2019-04-30 Thread Chunming Zhou
heavy gpu job could occupy memory long time, which lead other user fail to get memory. basically pick up Christian idea: 1. Reserve the BO in DC using a ww_mutex ticket (trivial). 2. If we then run into this EBUSY condition in TTM check if the BO we need memory for (or rather the ww_mutex of it

[PATCH] drm/ttm: fix busy memory to fail other user v5

2019-04-26 Thread Chunming Zhou
heavy gpu job could occupy memory long time, which lead other user fail to get memory. basically pick up Christian idea: 1. Reserve the BO in DC using a ww_mutex ticket (trivial). 2. If we then run into this EBUSY condition in TTM check if the BO we need memory for (or rather the ww_mutex of it