diff options
author | 2020-05-25 06:45:25 +0000 | |
---|---|---|
committer | 2020-05-25 06:45:25 +0000 | |
commit | fc223b232cff7e51a9474209d53006b4ae5898e7 (patch) | |
tree | d686bcf653c8636db97661bfec3b878368cb166d /sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c | |
parent | Kill unused cdev_pc_init(). (diff) | |
download | wireguard-openbsd-fc223b232cff7e51a9474209d53006b4ae5898e7.tar.xz wireguard-openbsd-fc223b232cff7e51a9474209d53006b4ae5898e7.zip |
rename wsdisplay alloc_attr() to pack_attr()
Suggested by John Carmack. miod agrees a rename would make sense and
explained it was initially thought drivers may need to allocate storage
but in practice they don't need more than 32 bits for an attribute.
ok mpi@
Diffstat (limited to 'sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c')
-rw-r--r-- | sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c index 619e8289840..4d76c319407 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c @@ -1828,7 +1828,7 @@ amdgpu_attachhook(struct device *self) if (adev->console) { long defattr; - ri->ri_ops.alloc_attr(ri->ri_active, 0, 0, 0, &defattr); + ri->ri_ops.pack_attr(ri->ri_active, 0, 0, 0, &defattr); wsdisplay_cnattach(&amdgpu_stdscreen, ri->ri_active, ri->ri_ccol, ri->ri_crow, defattr); } |