Home
last modified time | relevance | path

Searched hist:"9 f07bb0d4ada68f05b2e51c10720d4688e6adea4" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_dump.cdiff 9f07bb0d4ada68f05b2e51c10720d4688e6adea4 Mon Jan 25 15:37:28 CET 2016 Lucas Stach <l.stach@pengutronix.de> drm/etnaviv: fix get pages error path in etnaviv_gem_vaddr

In case that etnaviv_gem_get_pages is unable to get the required
pages the object mutex needs to be unlocked. Also return NULL in
this case instead of propagating the error, as callers of this
function might not be prepared to handle a pointer error, but
expect this call to follow the semantics of a plain vmap to return
NULL in case of an error.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
H A Detnaviv_gem.cdiff 9f07bb0d4ada68f05b2e51c10720d4688e6adea4 Mon Jan 25 15:37:28 CET 2016 Lucas Stach <l.stach@pengutronix.de> drm/etnaviv: fix get pages error path in etnaviv_gem_vaddr

In case that etnaviv_gem_get_pages is unable to get the required
pages the object mutex needs to be unlocked. Also return NULL in
this case instead of propagating the error, as callers of this
function might not be prepared to handle a pointer error, but
expect this call to follow the semantics of a plain vmap to return
NULL in case of an error.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>