gpu: host1x: Add 'flags' field to syncpt request
Functions host1x_syncpt_request() and _host1x_syncpt_alloc() have been taking a separate boolean flag ('client_managed') for indicating if the syncpoint value should be tracked by the host1x driver. This patch converts the field into generic 'flags' field so that we can easily add more information while requesting a syncpoint. Clients are adapted to use the new interface accordingly. Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Esse commit está contido em:

commit de
Thierry Reding

pai
b0084031f2
commit
8736fe8153
@@ -43,7 +43,7 @@ static int gr2d_init(struct host1x_client *client)
|
||||
if (!gr2d->channel)
|
||||
return -ENOMEM;
|
||||
|
||||
client->syncpts[0] = host1x_syncpt_request(client->dev, false);
|
||||
client->syncpts[0] = host1x_syncpt_request(client->dev, 0);
|
||||
if (!client->syncpts[0]) {
|
||||
host1x_channel_free(gr2d->channel);
|
||||
return -ENOMEM;
|
||||
|
Referência em uma nova issue
Block a user