Displaying 6 results from an estimated 6 matches for "nv50_instmem_priv".
2014 Dec 23
1
[PATCH nouveau 08/11] instmem: add dummy support for GK20A
...R
> + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
> + * DEALINGS IN THE SOFTWARE.
> + *
> + */
> +
> +#include "nv50.h"
I'm confused... what exactly depends on nv50_instmem_priv here? Why
not just create a gk20a_instmem_priv and leave the nv50 one alone?
> +#include "priv.h"
> +
> +static int
> +gk20a_instmem_fini(struct nouveau_object *object, bool suspend)
> +{
> + struct nouveau_instmem *imem = (void *)object;
> +
> + retur...
2015 Feb 11
1
[PATCH v2 6/6] instmem/gk20a: add IOMMU support
....e. using the
> + * GPU path) to ensure these operations are coherent for the GPU. This allows us
> + * to use more "relaxed" allocation parameters when using the DMA API, since we
> + * never need a kernel mapping.
> + */
Er yeah... obviously ignore my comments about sharing nv50_instmem_priv stuff.
-ilia
2014 Dec 23
18
[PATCH 0/11] Add suspend/resume support for GK20A
...+++++++-
include/soc/tegra/pmc.h | 2 +
6 files changed, 151 insertions(+), 12 deletions(-)
Vince Hsu (7): (linux-3.19 / http://cgit.freedesktop.org/~darktama/nouveau)
platform: switch to the new gpu rail clamping function
platform: complete the power up/down sequence
instmem: make nv50_instmem_priv public
instmem: add dummy support for GK20A
drm: export some variable and functions to resue the PM functions
platform: add suspend/resume support
platform: add PM runtime suspend/resume support
drm/Kbuild | 1 +
drm/core/subdev/instmem/nv50.h | 1 +
drm/nouveau_dr...
2014 Dec 23
0
[PATCH nouveau 08/11] instmem: add dummy support for GK20A
...nouveau_instmem *imem = (void *)object;
+
+ return nouveau_subdev_init(&imem->base);
+}
+
+static int
+gk20a_instmem_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
+ struct nouveau_oclass *oclass, void *data, u32 size,
+ struct nouveau_object **pobject)
+{
+ struct nv50_instmem_priv *priv;
+ int ret;
+
+ ret = nouveau_instmem_create(parent, engine, oclass, &priv);
+ *pobject = nv_object(priv);
+ if (ret)
+ return ret;
+
+ spin_lock_init(&priv->lock);
+ return 0;
+}
+
+struct nouveau_oclass *
+gk20a_instmem_oclass = &(struct nouveau_instmem_impl) {
+ .base.handl...
2015 Feb 11
9
[PATCH v2 0/6] nouveau/gk20a: RAM device removal & IOMMU support
Changes since v1:
- Add missing else condition in ltc
- Remove extra flags that slipped into nouveau_display.c and nv84_fence.c.
Original cover letter:
Patches 1-3 make the presence of a RAM device optional, and remove GK20A's dummy
RAM driver we were using so far. On chips using shared memory, such a device
can confuse the driver into moving objects where there is no need to, and can
trick
2012 May 20
16
nouveau_subdev & misc patches
Hello all, this series includes a wide range of fixes - from a few
month's old one-liners from Andreas Heider regarding vga_switcheroo, via a
null pointer dereference and double memory allocation, to a buffer overflow.
Please review and comment
---
drivers/gpu/drm/nouveau/nouveau_acpi.c | 3 ++-
drivers/gpu/drm/nouveau/nouveau_device.c | 26 +++++++++++++++-----------