[PATCH 1/2] drm/tegra: Fix possible CRTC mask for RGB outputs

2014-01-14 Thread Thierry Reding
On Mon, Jan 13, 2014 at 10:44:26AM -0700, Stephen Warren wrote: > On 01/13/2014 07:21 AM, Thierry Reding wrote: > > The mask of possible CRTCs that an output (DRM encoder) can be attached > > to is relative to the position within the DRM device's list of CRTCs. > > Deferred probing can cause this t

[PATCH 1/2] drm/tegra: Fix possible CRTC mask for RGB outputs

2014-01-13 Thread Thierry Reding
The mask of possible CRTCs that an output (DRM encoder) can be attached to is relative to the position within the DRM device's list of CRTCs. Deferred probing can cause this to not match the pipe number associated with a CRTC. Use the newly introduced drm_crtc_mask() to compute the mask by looking

[PATCH 1/2] drm/tegra: Fix possible CRTC mask for RGB outputs

2014-01-13 Thread Stephen Warren
On 01/13/2014 07:21 AM, Thierry Reding wrote: > The mask of possible CRTCs that an output (DRM encoder) can be attached > to is relative to the position within the DRM device's list of CRTCs. > Deferred probing can cause this to not match the pipe number associated > with a CRTC. Use the newly intr