Home | History | Annotate | Download | only in ttm
History log of /src/sys/external/bsd/drm2/ttm/ttm_agp_backend.c
RevisionDateAuthorComments
 1.9  19-Dec-2021  riastradh Fix up ttm agp.
 1.8  28-Aug-2018  riastradh Rework PCI and AGP conditionalization.

- Push drm_pci_set_unique into driver callback.
- Eliminate drm_pci_set_unique_hook.
- Gather all drm_agp_* functions into struct drm_agp_hooks.
- Replace the nonsensical old atomic garbage by serious locking.
- Make drm_agpsupport.c its own module.
- Eliminate NDRMKMS_PCI.
- Use NAGP from "agp.h" only in drm_module.c for horrible hack.
=> See comment in file for rationale.
- Always define CONFIG_PCI=1 and CONFIG_AGP=1.
- Always go through the drm_agp_* function hooks.
- Ifdef out nouveau agp stuff that doesn't go through drm_agp_*
for reasons that I'm too frustrated to figure out tonight.
- pci_iomap no longer automagically does agp_i810_borrow.
=> Use drm_agp_borrow instead.
 1.7  27-Aug-2018  riastradh Upstream nixed __OS_HAS_AGP; use CONFIG_AGP instead.
 1.6  09-Mar-2017  maya branches: 1.6.12; 1.6.14;
Clarify ttm state transitions tt_unpopulated<->tt_unbound<->tt_bound.
Assert it, too, and don't handle other cases.

We can add the assertion to ttm_agp_tt_unpopulate because it is called by
{nouveau,radeon}_ttm_tt_unpopulate, which is generically called
ttm_tt_unpopulate.

And the sole caller to ttm_tt_unpopulate (ttm_tt_destroy) only does so if the
state is unbound. the other caller is in a !NetBSD block.

We can add the assertion to ttm_agp_tt_populate and avoid handling the
!unpopulated case because the sole callers are {nouveau,radeon}_ttm_tt_populate
both of which return early in the !unpopulated case.

We can change the assertion on ttm_tt_wire because it is solely called by
ttm_bus_dma_populate, which already asserts that it is the unpopulated case.

from riastradh
 1.5  17-Oct-2015  jmcneill branches: 1.5.2; 1.5.4;
only build ttm_agp code if __OS_HAS_AGP is defined
 1.4  25-Apr-2015  riastradh kmem_free the container structure, not a substructure.
 1.3  14-Aug-2014  riastradh branches: 1.3.2; 1.3.4;
Zero ttm_agp objects on creation.
 1.2  14-Aug-2014  riastradh Use ttm_dma_tt_init in ttm_agp_tt_create so we can use ttm_bus_dma.
 1.1  16-Jul-2014  riastradh branches: 1.1.2; 1.1.4;
First whack at radeon driver.

No hardware to test yet, but it builds.
 1.1.4.2  30-Jul-2015  snj Pull up following revision(s) (requested by riastradh in ticket #903):
sys/external/bsd/drm2/ttm/ttm_agp_backend.c: revision 1.4
kmem_free the container structure, not a substructure.
 1.1.4.1  15-Aug-2014  martin Pull up following revision(s) (requested by riastradh in ticket #18):
sys/external/bsd/drm2/ttm/ttm_agp_backend.c: revision 1.2
sys/external/bsd/drm2/ttm/ttm_agp_backend.c: revision 1.3
sys/external/bsd/drm2/include/linux/pci.h: revision 1.8
Fix shifts & masks in Linux pci_read_config_{word,byte}.
Use ttm_dma_tt_init in ttm_agp_tt_create so we can use ttm_bus_dma.
Zero ttm_agp objects on creation.
 1.1.2.2  10-Aug-2014  tls Rebase.
 1.1.2.1  16-Jul-2014  tls file ttm_agp_backend.c was added on branch tls-earlyentropy on 2014-08-10 06:55:40 +0000
 1.3.4.3  28-Aug-2017  skrll Sync with HEAD
 1.3.4.2  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.3.4.1  06-Jun-2015  skrll Sync with HEAD
 1.3.2.3  03-Dec-2017  jdolecek update from HEAD
 1.3.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.2.1  14-Aug-2014  tls file ttm_agp_backend.c was added on branch tls-maxphys on 2014-08-20 00:04:22 +0000
 1.5.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.5.2.1  20-Mar-2017  pgoyette Sync with HEAD
 1.6.14.1  10-Jun-2019  christos Sync with HEAD
 1.6.12.1  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

RSS XML Feed