History log of /fuchsia/zircon/system/dev/audio/intel-hda/controller/utils.cpp
Revision Date Author Comments
# ff356b8b 09-Aug-2018 John Grossman <johngro@google.com>

[vmo-utils][fzl] Move contents of vmo-utils into fzl

Move copies of the vmo-centric helper classes which existed in
vmo-utils into fzl. This is step one of merging vmo-utils and libfzl.
Once higher level code has been migrated over to use the new library,
vmo-utils and its tests can be removed.

Also, merge the libfzl and fzl unit tests. I'm not sure how they got
divided in the first place, but now they are unified under just
libfzl.

ZX-2462 #comment Classes have been duplicated and added to libfzl
Test: Build and unit-test

Change-Id: Ie3bc07a9f78b6383032fcc974f28dd6af50caf21


# c409b211 04-Jun-2018 Garratt <garratt@google.com>

[fbl][vmo] Moving VmoMapper out of fbl

The VmoMapper and the VmarManager classes are more
of vmo utilities than fbl libraries. In preparation
for adding more such utilities, I am moving these libraries
to another location.

There are other CLs to update usage of this library in
the other repos.

Change-Id: I610bfd2838cf7843120d4aa885d24ea3b1b97b73


# 7d35c383 14-Feb-2018 Yvonne Yip <yky@google.com>

[dev][intel-hda] intel-audio-dsp driver

Currently just boots the DSP and loads the firmware.
The DSP driver is independent from the HDA driver, however
the source is checked in under system/dev/audio/intel-hda/
to be consistent with HDA codecs.

Change-Id: Ic2d9bca68ae7ee6c9011f53d0f894b7a68e43b86


# 8732c31a 26-Apr-2018 Yvonne Yip <yky@google.com>

[ulib][intel-hda] move utils from intel-hda driver to ulib/intel-hda

Move PinnedVmo, RefCountedBti and WaitConditionFn to ulib/intel-hda
for reuse by the Intel Audio DSP driver.

Change-Id: I85cb56b3d3a0910c9021800941a87ade40359eae


# e0d70dec 16-Mar-2018 James Robinson <jamesr@google.com>

[zx] Move public zx headers to match naming convention

The zx library provides headers intended for general use, so the
include path should be spelled <lib/zx/foo.h> as per
https://fuchsia.googlesource.com/docs/+/master/development/languages/c-cpp/naming.md.
This moves the headers into the proper location and updates includes to
match.

Change-Id: I6fc9b2a491b5f8b0d270c4dfc77fa4be5739071b


# 0aef0a05 14-Mar-2018 John Grossman <johngro@google.com>

[audio][hda] Update Intel HDA driver logging.

Update the Intel HDA driver's logging to use zxlogf instead of printf.

Change-Id: Ice8ef22e7ae48da566b16fbb705a6a3d148f2d6c


# 9c4f78ec 12-Mar-2018 John Grossman <johngro@google.com>

[iommu][ihda] Update Intel HDA driver to use IOMMU/BTI

Update the Intel HDA driver to start using the IOMMU and BTI
primatives now being exposed by zircon. This introduces some new
internal utility classes (PinnedVMOs) and eliminates a number of
others. It also takes care of some log standing TODOs (eg; how do we
pin our pages?)

Also, do a general cleanup pass on some of the style in this driver.
It was written before many utility classes and libraries, and so it
was not taking advantage of some of the runtime safety these classes
can provide. In specific...

++ Raw handles are no longer used, everything is managed using libzx
now.
++ fbl::VmoMapper and fbl::VmarManager are now used to manage register
mapping and to corral all mapped registers into a single sub-vmar
in an attempt to be kind to the page table entry allocator in the
kernel.
++ The use of AllocChecker has been restored. This code had been
moved up into the garnet layer for a while and therefor stopped
using AllocChecker. Now that it is back in zircon, best practice
is to check for allocation failure and handle it gracefully instead
of allowing programs to terminate if allocation fails.

Change-Id: I1ca483fb70fe85650b8ba576f5e234a869f9ce9e


# 84dd3166 05-Feb-2018 Brian Swetland <swetland@google.com>

[ddk][device] deprecate iotxn_queue op and device_iotxn_queue()

Most of this noise is due to various drivers that were not including
assert.h or limits.h (for PAGE_SIZE) or driver.h, instead counting on
getting them indirectly via iotxn.h via driver.h

Change-Id: Ib9d0cd56a2b81f45887e1eeb79c22b3fc44d72da


# ec9928ea 22-Jan-2018 Adam Barth <abarth@google.com>

[syscalls] Rename zx_time_get to zx_clock_get

This change frees up the get() method in for a zx_time_t accessor in the
zx::time class.

Change-Id: Ia4cdc7e3e558df5ba0cfeedb27a442abf4d6f305


# 4daf3a53 23-Oct-2017 Mike Voydanoff <voydanoff@google.com>

[dev][intel-hda] Add intel-hda audio drivers to zircon build

Change-Id: I098eb734b5dfef5a267d07db67860fff04014486


# 212c82fc 23-Oct-2017 Mike Voydanoff <voydanoff@google.com>

[dev][audio] Move //drivers/audio project to zircon

Change-Id: I5b60b0134a9d2d788922244b81401bc55d9837e8