summaryrefslogtreecommitdiff
path: root/drivers/vme
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-12-16 16:03:13 +0100
committerThierry Reding <treding@nvidia.com>2014-12-17 14:27:36 +0100
commited7dae58de246790f394caea5ef7eecad0e83387 (patch)
tree482dca8deef284ea1234fc8bcda4341ec8f77eda /drivers/vme
parent96d3f91eb263d478777bb9bff1b1300e0c08c29e (diff)
drm/tegra: dc: Consistently use the same pipe
The hardware pipe numbers don't always match the DRM CRTC indices. This can happen for example if the first display controller defers probe, causing it to be registered with DRM after the second display controller. When that happens the hardware pipe numbers and DRM CRTC indices become different. Make sure that the CRTC index is always used when accessing per-CRTC VBLANK data. This can be ensured by using the drm_crtc_vblank_*() API, which will do the right thing automatically given a struct drm_crtc *. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions