diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2018-11-23 16:26:04 +0100 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2019-01-07 16:10:20 +0100 |
commit | 72ac64b84b2ecb5c980354a189018ede14d61035 (patch) | |
tree | 63e857e382dae7ac69031fa4b725d42cff2b4b6f /drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c | |
parent | drm/etnaviv: fix some off by one bugs (diff) | |
download | linux-72ac64b84b2ecb5c980354a189018ede14d61035.tar.xz linux-72ac64b84b2ecb5c980354a189018ede14d61035.zip |
drm/etnaviv: move job context pointer to etnaviv_gem_submit
The context isn't really related to the cmdbuf, but is a property of
the job. This has been missed when moving to a properly refcounted
etnaviv_gem_submit.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c')
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c b/drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c index 30875f8f2933..b2fe3446bfbc 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c @@ -506,7 +506,7 @@ int etnaviv_ioctl_gem_submit(struct drm_device *dev, void *data, if (ret) goto err_submit_objects; - submit->cmdbuf.ctx = file->driver_priv; + submit->ctx = file->driver_priv; submit->exec_state = args->exec_state; submit->flags = args->flags; |