aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2017-02-23 16:05:40 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-03-07 22:18:24 +0100
commit78428d672c2ecdb54c72ae427071c239650cb6c7 (patch)
treef4fb4f57ddfb59150270f2f38d38a5b37d700620 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parenta5154a4d01d7958788366894ceeddd9e1aab5b13 (diff)
drm/sun4i: tv: Switch to drm_of_find_possible_crtcs
Now that the crtcs have their .port field set properly, we can use drm_of_find_possible_crtcs to find the connected crtcs, instead of hardcoding the first crtc as usable. The new code also defers binding when the upstream crtc hasn't been registered yet. This makes it easier to support multiple tcons/crtcs. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions