drm/tegra: plane: Use proper possible_crtcs mask
authorThierry Reding <treding@nvidia.com>
Tue, 16 Dec 2014 17:04:08 +0000 (18:04 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Jan 2015 09:14:35 +0000 (10:14 +0100)
commit518e6227afe076a7facd9a9b5ce1d5ded98732d5
treef7e292c4e9d0dd9ba5864897a4f7f19b49336eed
parentaa942f6ac43ab7373a025fe54780c8a852f33348
drm/tegra: plane: Use proper possible_crtcs mask

The possible_crtcs mask needs to be a mask of CRTC indices. There is no
guarantee that the DRM indices match the hardware pipe number, so the
mask must be computed from the CRTC index.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c