drm/tegra: iommu debug message
drm: Use size_t for blob property sizes

size_t is the standard type when dealing with sizes of all kinds. Use it
consistently when instantiating DRM blob properties.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drm: Use const data when creating blob properties

Creating a blob property will always copy the input data so the data
that is passed in can be const.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drm/gem: Fix typo in kerneldoc

The function being documented is drm_gem_object_handle_free(), not
drm_gem_object_free().

Signed-off-by: Thierry Reding <treding@nvidia.com>
WIP: drm/plane: Use unsigned int for format count

Rather than the sized uint32_t, use an unsized unsigned int to specify
the format count.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drm/plane: Remove redundant extern

Signed-off-by: Thierry Reding <treding@nvidia.com>
clk: tegra124: Enable hda to hdmi clocks

Add the clocks used for HDMI audio played through the HDA controller.
Initialize the codec clock to 48Mhz and the HDA clock to 102MHz per
the TRM.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
ARM: tegra: Update default configuration
ARM: tegra: jetson-tk1: Enable HDA support

The HDA controller can be used to play back audio via HDMI.

Signed-off-by: Thierry Reding <treding@nvidia.com>
retry on timeout
WIP: PCI: tegra: Remove several fixups

The bridge fixup is not needed since the PCI core will enable I/O and
memory accesses as well as bus mastering on bridge devices by default.

Also disable the root port class fixup for device IDs 0x0e1c and 0xe1d
since those devices apparently don't exist.

Signed-off-by: Thierry Reding <treding@nvidia.com>
ARM: tegra: Select XUSB pad controller by default

Signed-off-by: Thierry Reding <treding@nvidia.com>
drm/prime: Use unsigned type for number of pages

The number of pages can never be negative, so an unsigned type is
enough. This also matches the type of the n_pages argument of the
sg_alloc_table_from_pages() function.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drm/nouveau: Fix mapping of big pages

This patch courtesy of Alexandre Courbot (via IRC). An improved version
of this has been submitted upstream for review.

Signed-off-by: Thierry Reding <treding@nvidia.com>
gpu: host1x: Use struct host1x_bo pointers in traces

Rather than cast to a u32 use the struct host1x_bo pointers directly.
This avoid annoying warnings for 64-bit builds.

Signed-off-by: Thierry Reding <treding@nvidia.com>
gpu: host1x: Make mapped field of push buffers void *

This reduces the amount of casting that needs to be done to get rid of
annoying warnings on 64-bit builds.

Signed-off-by: Thierry Reding <treding@nvidia.com>
gpu: host1x: Fix typo in comment

Signed-off-by: Thierry Reding <treding@nvidia.com>
gpu: host1x: Print address/offset pairs consistently

Consistently use a format of %pad+%#x to print address/offset in debug
messages.

Signed-off-by: Thierry Reding <treding@nvidia.com>
gpu: host1x: Make gather offsets unsigned

Use the u32 type for the offset in the host1x_job_gather structure for
consistentcy with other structures. Negative offsets don't make sense in
this context.

Signed-off-by: Thierry Reding <treding@nvidia.com>
regulator: tps6586x: Fix build warnings on 64-bit

The driver_data field of struct of_regulator_match is void *, so casting
it to int will result in compiler warnings on 64-bit architectures.

Signed-off-by: Thierry Reding <treding@nvidia.com>