client.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) client.c (f3a8b6645dc2e60d11f20c1c23afd964ff4e55ae)
1/*
2 * Copyright 2013 Red Hat Inc.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the

--- 41 unchanged lines hidden (view full) ---

50 if (client->driver) {
51 client->driver->fini(client->object.priv);
52 client->driver = NULL;
53 client->object.client = NULL;
54 nvif_object_fini(&client->object);
55 }
56}
57
1/*
2 * Copyright 2013 Red Hat Inc.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the

--- 41 unchanged lines hidden (view full) ---

50 if (client->driver) {
51 client->driver->fini(client->object.priv);
52 client->driver = NULL;
53 client->object.client = NULL;
54 nvif_object_fini(&client->object);
55 }
56}
57
58const struct nvif_driver *
58static const struct nvif_driver *
59nvif_drivers[] = {
60#ifdef __KERNEL__
61 &nvif_driver_nvkm,
62#else
63 &nvif_driver_drm,
64 &nvif_driver_lib,
65 &nvif_driver_null,
66#endif

--- 40 unchanged lines hidden ---
59nvif_drivers[] = {
60#ifdef __KERNEL__
61 &nvif_driver_nvkm,
62#else
63 &nvif_driver_drm,
64 &nvif_driver_lib,
65 &nvif_driver_null,
66#endif

--- 40 unchanged lines hidden ---