Home | History | Annotate | Download | only in drm
History log of /src/sys/external/bsd/drm2/drm/drm_agp_hook.c
RevisionDateAuthorComments
 1.7  19-Jul-2022  riastradh drm: Nix drm_agp_borrow.

This horrible kludge dates from before I understood the relation of
genfb_pci and pci drm drivers in the old and new worlds of drm.

The only user of it, in i915, was changed to use agp_i810_borrow
directly in the last drm update, so this hack can die.
 1.6  19-Dec-2021  riastradh Make ourselves less dependent on drmP.h, removed upstream.

This causes some trouble as CONFIG_* lines might not be appropriately
defined. A few declarations remain in drmP.h so it's not gone.


Author: Maya Rashish <maya@NetBSD.org>
 1.5  19-Dec-2021  riastradh drm_agp_clear got renamed to drm_agp_legacy_clear.
 1.4  19-Dec-2021  riastradh Include drm_internal.h by "../dist/drm/drm_internal.h".
 1.3  30-Aug-2018  mrg branches: 1.3.2; 1.3.6;
if hooks init works, store the hooks in the agp. fixes start up
crash on an old radeon laptop. from @riastradh.

the console also now works, unlike previous drm2, where eg, the
problems from PR#49744 are seen.

unfortunately, i got a crash starting X, and no ddb yet, so we
can't re-enable the r100/r200 parts here yet. once this is
known to be working we can delete the old radeondrm code, and
remove the hacks to disable drm2 there.
 1.2  30-Aug-2018  tnn initialize error variable
 1.1  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.3.6.2  10-Jun-2019  christos Sync with HEAD
 1.3.6.1  30-Aug-2018  christos file drm_agp_hook.c was added on branch phil-wifi on 2019-06-10 22:08:30 +0000
 1.3.2.2  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.3.2.1  30-Aug-2018  pgoyette file drm_agp_hook.c was added on branch pgoyette-compat on 2018-09-06 06:56:35 +0000

RSS XML Feed