Searched hist:db41fe7d (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_gpu.h | db41fe7d Fri Jul 05 12:17:20 CDT 2019 Lucas Stach <l.stach@pengutronix.de> drm/etnaviv: simplify unbind checks
Remember if the GPU has been sucessfully initialized. Only in that case do we need to clean up various structures in the unbind path. If the GPU hasn't been sucessfully initialized all the cleanups should happen in the failure paths of the init function.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Guido Günther <agx@sigxcpu.org> db41fe7d Fri Jul 05 12:17:20 CDT 2019 Lucas Stach <l.stach@pengutronix.de> drm/etnaviv: simplify unbind checks Remember if the GPU has been sucessfully initialized. Only in that case do we need to clean up various structures in the unbind path. If the GPU hasn't been sucessfully initialized all the cleanups should happen in the failure paths of the init function. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Guido Günther <agx@sigxcpu.org>
|
H A D | etnaviv_gpu.c | db41fe7d Fri Jul 05 12:17:20 CDT 2019 Lucas Stach <l.stach@pengutronix.de> drm/etnaviv: simplify unbind checks
Remember if the GPU has been sucessfully initialized. Only in that case do we need to clean up various structures in the unbind path. If the GPU hasn't been sucessfully initialized all the cleanups should happen in the failure paths of the init function.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Guido Günther <agx@sigxcpu.org> db41fe7d Fri Jul 05 12:17:20 CDT 2019 Lucas Stach <l.stach@pengutronix.de> drm/etnaviv: simplify unbind checks Remember if the GPU has been sucessfully initialized. Only in that case do we need to clean up various structures in the unbind path. If the GPU hasn't been sucessfully initialized all the cleanups should happen in the failure paths of the init function. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Guido Günther <agx@sigxcpu.org>
|