diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-07-02 17:29:27 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-07-05 15:52:08 +0200 |
commit | ddba766dd07e67d0ca70b632d3bbac72234b547e (patch) | |
tree | f58fc59429c860fe4158267194c8b25e65d87411 /drivers/gpu/drm/radeon | |
parent | drm/amdgpu: Use drm_connector_for_each_possible_encoder() (diff) | |
download | linux-ddba766dd07e67d0ca70b632d3bbac72234b547e.tar.xz linux-ddba766dd07e67d0ca70b632d3bbac72234b547e.zip |
drm/nouveau: Use drm_connector_for_each_possible_encoder()
Use drm_connector_for_each_possible_encoder() for iterating
connector->encoder_ids[]. A bit more convenient not having
to deal with the implementation details.
v2: Replace drm_for_each_connector_encoder_ids() with
drm_connector_for_each_possible_encoder() (Daniel)
v3: Initialize nv_encoder to NULL to shut up gcc/smatch
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: nouveau@lists.freedesktop.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180702152927.13351-1-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/radeon')
0 files changed, 0 insertions, 0 deletions