gpu: host1x: Store pointer to client in jobs
Rather than storing some identifier derived from the application context that can't be used concretely anywhere, store a pointer to the client directly so that accesses can be made directly through that client object. Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Tested-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
@@ -247,7 +247,7 @@ static void cdma_start_timer_locked(struct host1x_cdma *cdma,
|
||||
static void stop_cdma_timer_locked(struct host1x_cdma *cdma)
|
||||
{
|
||||
cancel_delayed_work(&cdma->timeout.wq);
|
||||
cdma->timeout.client = 0;
|
||||
cdma->timeout.client = NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user