Add nouveau to Tegra config file
ARM: tegra: enable DRM staging option
drm: tegra: Check return value of drm_vblank_get()

drm_vblank_get() can return an error, which we should propagate.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drm: tegra: Stop using drm_vblank_pre/post_modeset()

drm_vblank_pre/post_modeset()'s usage is discourage in their very own
documentation, which recommends using drm_vblank_off/on() instead. For
Tegra this has become a necessity since commit 7ffd7a68511c slightly
changed the semantics of the latter functions and prevents them from
mixing safely with their deprecated predecessors. This resulted in calls
to drm_vblank_get() to fail in the Tegra driver.

This patch ensures that the Tegra driver now only uses
drm_vblank_off/on(), restoring a proper vblank behavior.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
ARM: tegra: venice2: add GK20A GPU DT node

Add the device-tree node for the GK20A GPU and leave it disabled.
It is the responsability of the bootloader to enable it if the
VPR registers have been programmed such as the GPU can operate.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
ARM: tegra: jetson-tk1: add GK20A GPU DT node

Add the device-tree node for the GK20A GPU and leave it disabled.
It is the responsability of the bootloader to enable it if the
VPR registers have been programmed such as the GPU can operate.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
[HACK] Enable GK20A DT nodes

This is supposed to be done by the bootloader, but support is missing in
U-boot at the moment. Just do it manually for now.
mc: tegra: fix GPU group register
Add IOMMU node to GK20A