[PATCH] nouveau: need to handle failed allocation

2016-01-29 Thread Ben Skeggs
On 01/29/2016 10:12 AM, Insu Yun wrote: > > On Thu, Jan 28, 2016 at 7:08 PM, Ilia Mirkin > wrote: > > On Thu, Jan 28, 2016 at 7:09 PM, Insu Yun > wrote: > > drm_property_create_range can be failed in memory pressure. >

[PATCH] nouveau: need to handle failed allocation

2016-01-28 Thread Insu Yun
On Thu, Jan 28, 2016 at 7:08 PM, Ilia Mirkin wrote: > On Thu, Jan 28, 2016 at 7:09 PM, Insu Yun wrote: > > drm_property_create_range can be failed in memory pressure. > > So, it needs to be handled. > > > > Signed-off-by: Insu Yun > > --- > > drivers/gpu/drm/nouveau/nouveau_display.c | 6 +

[PATCH] nouveau: need to handle failed allocation

2016-01-28 Thread Insu Yun
drm_property_create_range can be failed in memory pressure. So, it needs to be handled. Signed-off-by: Insu Yun --- drivers/gpu/drm/nouveau/nouveau_display.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_dis

[PATCH] nouveau: need to handle failed allocation

2016-01-28 Thread Ilia Mirkin
On Thu, Jan 28, 2016 at 7:09 PM, Insu Yun wrote: > drm_property_create_range can be failed in memory pressure. > So, it needs to be handled. > > Signed-off-by: Insu Yun > --- > drivers/gpu/drm/nouveau/nouveau_display.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/gpu/dr