search for: amdgpu_dm_connector_to_encod

Displaying 7 results from an estimated 7 matches for "amdgpu_dm_connector_to_encod".

2019 Sep 13
1
[PATCH CI 2/2] drm/connector: Allow max possible encoders to attach to a connector
Currently we restrict the number of encoders that can be linked to a connector to 3, increase it to match the maximum number of encoders that can be initialized(32). To more effiently do that lets switch from an array of encoder ids to bitmask. v2: Fixing missed return on amdgpu_dm_connector_to_encoder() Suggested-by: Ville Syrjälä <ville.syrjala at linux.intel.com> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com> Cc: Alex Deucher <alexander.deucher at amd.com> Cc: dri-devel at lists.freedesktop.org Cc: intel-gfx at lists.freedesktop.org Cc: nouveau at lists.freedesktop.o...
2019 Aug 16
0
[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/connector: Allow max possible encoders to attach to a connector (rev2)
...max possible encoders to attach to a > connector > + ^ > + } > +drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:4802:1: > warning: control reaches end of non-void function [-Wreturn-type] > +drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In > function ‘amdgpu_dm_connector_to_encoder’: Missed a "return NULL;" that will not be reached. Will fix that in the next version after get some comments. > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx at lists.freedesktop.org > https://lists.freedesktop.org/mailman/list...
2019 Sep 05
3
[PATCH v2] drm/connector: Allow max possible encoders to attach to a connector
...h from an array of encoder ids to bitmask. Also removing the best_encoder hook from the drivers that only have one encoder per connector(this ones have one encoder in the whole driver), pick_single_encoder_for_connector() will do the same job with no functional change. v2: Fixing missed return on amdgpu_dm_connector_to_encoder() Suggested-by: Ville Syrjälä <ville.syrjala at linux.intel.com> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com> Cc: Alex Deucher <alexander.deucher at amd.com> Cc: dri-devel at lists.freedesktop.org Cc: intel-gfx at lists.freedesktop.org Cc: nouveau at lists.freedesktop.o...
2019 Sep 11
0
[PATCH 2/2] drm/connector: Allow max possible encoders to attach to a connector
...ndiyan at intel.com> Currently we restrict the number of encoders that can be linked to a connector to 3, increase it to match the maximum number of encoders that can be initialized(32). To more effiently do that lets switch from an array of encoder ids to bitmask. v2: Fixing missed return on amdgpu_dm_connector_to_encoder() Suggested-by: Ville Syrjälä <ville.syrjala at linux.intel.com> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com> Cc: Alex Deucher <alexander.deucher at amd.com> Cc: dri-devel at lists.freedesktop.org Cc: intel-gfx at lists.freedesktop.org Cc: nouveau at lists.freedesktop.o...
2019 Sep 12
0
[PATCH 2/2] drm/connector: Allow max possible encoders to attach to a connector
Currently we restrict the number of encoders that can be linked to a connector to 3, increase it to match the maximum number of encoders that can be initialized(32). To more effiently do that lets switch from an array of encoder ids to bitmask. v2: Fixing missed return on amdgpu_dm_connector_to_encoder() Suggested-by: Ville Syrjälä <ville.syrjala at linux.intel.com> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com> Cc: Alex Deucher <alexander.deucher at amd.com> Cc: dri-devel at lists.freedesktop.org Cc: intel-gfx at lists.freedesktop.org Cc: nouveau at lists.freedesktop.o...
2019 Sep 06
0
[PATCH v2] drm/connector: Allow max possible encoders to attach to a connector
...e_encoder_for_connector() will do the same job > with no functional change. I don't think non-atomic drivers have that fallback in place. They probable should... Apart from that lgtm Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com> > > v2: Fixing missed return on amdgpu_dm_connector_to_encoder() > > Suggested-by: Ville Syrjälä <ville.syrjala at linux.intel.com> > Cc: Ville Syrjälä <ville.syrjala at linux.intel.com> > Cc: Alex Deucher <alexander.deucher at amd.com> > Cc: dri-devel at lists.freedesktop.org > Cc: intel-gfx at lists.freedesktop.org >...
2019 Aug 16
0
[PATCH] drm/connector: Allow max possible encoders to attach to a connector
...pu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index 67f8aee4cd1b..a48d813ac46e 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -4794,7 +4794,11 @@ static int to_drm_connector_type(enum signal_type st) static struct drm_encoder *amdgpu_dm_connector_to_encoder(struct drm_connector *connector) { - return drm_encoder_find(connector->dev, NULL, connector->encoder_ids[0]); + struct drm_encoder *encoder; + + /* There is only one encoder per connector */ + drm_connector_for_each_possible_encoder(connector, encoder) + return encoder; } static void...