History log of /netbsd/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/object.h (Results 1 – 10 of 10)
Revision Date Author Comments
# 3aa663a7 19-Dec-2021 riastradh <riastradh@NetBSD.org>

Get nouveau compiling.


# 677dec6e 18-Dec-2021 riastradh <riastradh@NetBSD.org>

Merge linux-drm-v5-6-rc3


# a0a6963d 27-Aug-2018 riastradh <riastradh@NetBSD.org>

Mark nvif_object_map __must_check and fix fallout noisily.


# a9a34f45 27-Aug-2018 riastradh <riastradh@NetBSD.org>

Allow nvkm_client_map to map subregions.

Linux ioremap does not care about overlapping mapped regions, but
bus_space_map does. Since nouveau ioremaps the entire register space
of BAR 0, and separat

Allow nvkm_client_map to map subregions.

Linux ioremap does not care about overlapping mapped regions, but
bus_space_map does. Since nouveau ioremaps the entire register space
of BAR 0, and separately some subregions of it, we need to convey the
bus addresses in question to it in order to bus_space_subregion.

Kinda kludgey, but we don't care about running this in userland or
anything.

While here: initialize object->map.tag. Not physically necessary on
x86 as long as the x86_io_mem_tag is nonull, so this won't fix any
symptoms on x86, but it is wrong to leave it null.

show more ...


# 8cadef33 27-Aug-2018 riastradh <riastradh@NetBSD.org>

Let's not truncate registers to 8-bit when we read them, shall we?


# bb65f099 27-Aug-2018 riastradh <riastradh@NetBSD.org>

Use bus_space now that we have the tag and handle.

Fix possible byte order issue while here.


# 19c732f8 27-Aug-2018 riastradh <riastradh@NetBSD.org>

Kludge to pass bus_space_tag through nvif mappings.

- New `ioctl' NVIF_IOCTL_V0_MAP_NETBSD returns bus_space_tag_t too.
. Blocked from userland. (Would only disclose a kernel virtual
address,

Kludge to pass bus_space_tag through nvif mappings.

- New `ioctl' NVIF_IOCTL_V0_MAP_NETBSD returns bus_space_tag_t too.
. Blocked from userland. (Would only disclose a kernel virtual
address, so not terribly serious.)
- struct nvif_driver::map function takes bus_sapce_tag, returns
bus_space_handle in addition to kva pointer.
- struct nvif_driver::unmap function takes bus_space_tag and
bus_space_handle rather than kva pointer.
- Teach various nvkm object types to return bus space tags too.
- Map them all with BUS_SPACE_MAP_LINEAR so the vaddr works.

XXX The fifo channel might need to be mapped with a subregion.
XXX What to do?

show more ...


# 741301b9 27-Aug-2018 riastradh <riastradh@NetBSD.org>

Attempt to work out nvif iomem crud.


# 4e59feab 27-Aug-2018 riastradh <riastradh@NetBSD.org>

merge linux-drm-v4-4-143


# d350ecf5 27-Aug-2018 riastradh <riastradh@NetBSD.org>

Import drm from Linux v4.4.143 (commit a8ea6276d00555387deaaa5eaeb380cd5c17bdc9).

drivers/gpu/drm -> sys/external/bsd/drm2/dist/drm
include/drm -> sys/external/bsd/drm2/dist/incl

Import drm from Linux v4.4.143 (commit a8ea6276d00555387deaaa5eaeb380cd5c17bdc9).

drivers/gpu/drm -> sys/external/bsd/drm2/dist/drm
include/drm -> sys/external/bsd/drm2/dist/include/drm
include/uapi/drm -> sys/external/bsd/drm2/dist/uapi/drm

GPL sources excluded.

show more ...