History log of /netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_base.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.13 16-Apr-2024 riastradh

drm: Set CONFIG_ACPI in linux/acpi.h and make it build.

Leave a little ACPI-related functionality disabled for now, like
getting EDID out of ACPI -- needs a bit more work to make this work,
and I don't have hardware to work on that.

Should help with failures of the forms:

- unable to locate a BIOS ROM
- bios: unable to locate usable image

on various machines.


Revision tags: netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
# 1.12 19-Dec-2021 riastradh

Match Linux's criterion for byte-swapping on big-endian CPUs.

(forward-ported from r1.10 on HEAD)


# 1.11 18-Dec-2021 riastradh

Merge linux-drm-v5-6-rc3


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1
# 1.10 19-Apr-2020 riastradh

Match Linux's criterion for byte-swapping on big-endian CPUs.


Revision tags: phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.9 14-Feb-2020 riastradh

branches: 1.9.4;
Use a header file hack to cope with Linux/NetBSD namespace clashes.

Currently serves for:

ALIGN
mutex_init
mutex_destroy


Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 1.8 27-Aug-2018 riastradh

branches: 1.8.2; 1.8.6; 1.8.10;
Be consistent about I/O byte ordering.

Leave XXX comments where it's not clear what we should do.


# 1.7 27-Aug-2018 riastradh

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.


# 1.6 27-Aug-2018 riastradh

Rename nouveau_devices_init/fini -> nvkm_devices_init/fini.

Matches newer upstream naming conventions better.


# 1.5 27-Aug-2018 riastradh

Fix typos. Use BUS_SPACE_MAP_LINEAR for vaddr later.


# 1.4 27-Aug-2018 riastradh

Fix 64-bit printfs.


# 1.3 27-Aug-2018 riastradh

Fix up some linux mutex init/destroy.


# 1.2 27-Aug-2018 riastradh

merge linux-drm-v4-4-143


# 1.1 27-Aug-2018 riastradh

branches: 1.1.1;
Initial revision


# 1.12 19-Dec-2021 riastradh

Match Linux's criterion for byte-swapping on big-endian CPUs.

(forward-ported from r1.10 on HEAD)


# 1.11 18-Dec-2021 riastradh

Merge linux-drm-v5-6-rc3


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1
# 1.10 19-Apr-2020 riastradh

Match Linux's criterion for byte-swapping on big-endian CPUs.


Revision tags: phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.9 14-Feb-2020 riastradh

branches: 1.9.4;
Use a header file hack to cope with Linux/NetBSD namespace clashes.

Currently serves for:

ALIGN
mutex_init
mutex_destroy


Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 1.8 27-Aug-2018 riastradh

branches: 1.8.2; 1.8.6; 1.8.10;
Be consistent about I/O byte ordering.

Leave XXX comments where it's not clear what we should do.


# 1.7 27-Aug-2018 riastradh

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.


# 1.6 27-Aug-2018 riastradh

Rename nouveau_devices_init/fini -> nvkm_devices_init/fini.

Matches newer upstream naming conventions better.


# 1.5 27-Aug-2018 riastradh

Fix typos. Use BUS_SPACE_MAP_LINEAR for vaddr later.


# 1.4 27-Aug-2018 riastradh

Fix 64-bit printfs.


# 1.3 27-Aug-2018 riastradh

Fix up some linux mutex init/destroy.


# 1.2 27-Aug-2018 riastradh

merge linux-drm-v4-4-143


# 1.1 27-Aug-2018 riastradh

branches: 1.1.1;
Initial revision


Revision tags: bouyer-xenpvh-base1
# 1.10 19-Apr-2020 riastradh

Match Linux's criterion for byte-swapping on big-endian CPUs.


Revision tags: phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
# 1.9 14-Feb-2020 riastradh

branches: 1.9.4;
Use a header file hack to cope with Linux/NetBSD namespace clashes.

Currently serves for:

ALIGN
mutex_init
mutex_destroy


Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 1.8 27-Aug-2018 riastradh

branches: 1.8.2; 1.8.6; 1.8.10;
Be consistent about I/O byte ordering.

Leave XXX comments where it's not clear what we should do.


# 1.7 27-Aug-2018 riastradh

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.


# 1.6 27-Aug-2018 riastradh

Rename nouveau_devices_init/fini -> nvkm_devices_init/fini.

Matches newer upstream naming conventions better.


# 1.5 27-Aug-2018 riastradh

Fix typos. Use BUS_SPACE_MAP_LINEAR for vaddr later.


# 1.4 27-Aug-2018 riastradh

Fix 64-bit printfs.


# 1.3 27-Aug-2018 riastradh

Fix up some linux mutex init/destroy.


# 1.2 27-Aug-2018 riastradh

merge linux-drm-v4-4-143


# 1.1 27-Aug-2018 riastradh

branches: 1.1.1;
Initial revision


# 1.9 14-Feb-2020 riastradh

Use a header file hack to cope with Linux/NetBSD namespace clashes.

Currently serves for:

ALIGN
mutex_init
mutex_destroy


Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 1.8 27-Aug-2018 riastradh

branches: 1.8.2; 1.8.6;
Be consistent about I/O byte ordering.

Leave XXX comments where it's not clear what we should do.


# 1.7 27-Aug-2018 riastradh

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.


# 1.6 27-Aug-2018 riastradh

Rename nouveau_devices_init/fini -> nvkm_devices_init/fini.

Matches newer upstream naming conventions better.


# 1.5 27-Aug-2018 riastradh

Fix typos. Use BUS_SPACE_MAP_LINEAR for vaddr later.


# 1.4 27-Aug-2018 riastradh

Fix 64-bit printfs.


# 1.3 27-Aug-2018 riastradh

Fix up some linux mutex init/destroy.


# 1.2 27-Aug-2018 riastradh

merge linux-drm-v4-4-143


# 1.1 27-Aug-2018 riastradh

branches: 1.1.1;
Initial revision


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 1.8 27-Aug-2018 riastradh

branches: 1.8.2;
Be consistent about I/O byte ordering.

Leave XXX comments where it's not clear what we should do.


# 1.7 27-Aug-2018 riastradh

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.


# 1.6 27-Aug-2018 riastradh

Rename nouveau_devices_init/fini -> nvkm_devices_init/fini.

Matches newer upstream naming conventions better.


# 1.5 27-Aug-2018 riastradh

Fix typos. Use BUS_SPACE_MAP_LINEAR for vaddr later.


# 1.4 27-Aug-2018 riastradh

Fix 64-bit printfs.


# 1.3 27-Aug-2018 riastradh

Fix up some linux mutex init/destroy.


# 1.2 27-Aug-2018 riastradh

merge linux-drm-v4-4-143


# 1.1 27-Aug-2018 riastradh

branches: 1.1.1;
Initial revision