コード例 #1
0
ファイル: gr3d.c プロジェクト: Ntemis/LG_X3_P880_v20a
int nvhost_gr3d_prepare_power_off(struct nvhost_device *dev)
{
	return nvhost_channel_save_context(dev->channel);
}
コード例 #2
0
int nvhost_gr3d_prepare_power_off(struct platform_device *dev)
{
	struct nvhost_device_data *pdata = platform_get_drvdata(dev);
	return nvhost_channel_save_context(pdata->channel);
}