Skip to contentSkip to conversation

drm/crtc-helper: drm_connector_get_single_encoder prototype is missing

PATCH In review Benjamin Gaignard 3 participants 4 messages Nov 19, 2019 – Dec 3, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/crtc-helper: drm_connector_get_single_encoder prototype is missing

Include drm_crtc_helper_internal.h to provide drm_connector_get_single_encoder prototype.

Fixes a92462d6bf493 ("drm/connector: Share with non-atomic drivers the function to get the single encoder")
Cc José Roberto de Souza <[email protected]>
---
 drivers/gpu/drm/drm_crtc_helper.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_crtc_helper.c +2 -0
index 499b05aaccfc..93a4eec429e8 100644
@@ -48,6 +48,8 @@
 #include <drm/drm_print.h>
 #include <drm/drm_vblank.h>
 
+#include "drm_crtc_helper_internal.h"
+
 /**
  * DOC: overview
  *
Signature · 1 line
2.15.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Benjamin Gaignard

Include drm_crtc_helper_internal.h to provide
drm_connector_get_single_encoder
prototype.

Fixes a92462d6bf493 ("drm/connector: Share with non-atomic drivers

the function to get the single encoder")

drm_connector_get_single_encoder() is implemented before the use in this file so it is not broken, no need of a fixes tag.

Quoted 22 lines
Cc José Roberto de Souza <[email protected]>
---
 drivers/gpu/drm/drm_crtc_helper.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_crtc_helper.c +2 -0
index 499b05aaccfc..93a4eec429e8 100644
@@ -48,6 +48,8 @@
 #include <drm/drm_print.h>
 #include <drm/drm_vblank.h>
 
+#include "drm_crtc_helper_internal.h"
+
 /**
  * DOC: overview
  *
#2 lore raw
Quoted 11 lines · Jose
Quoted 6 lines · Benjamin Gaignard

Include drm_crtc_helper_internal.h to provide
drm_connector_get_single_encoder
prototype.

Fixes a92462d6bf493 ("drm/connector: Share with non-atomic drivers

the function to get the single encoder")

drm_connector_get_single_encoder() is implemented before the use in this file so it is not broken, no need of a fixes tag.

I will remove fixe tag before push it.

Thanks,

Benjamin

Quoted 22 lines
Quoted 22 lines
Cc José Roberto de Souza <[email protected]>
---
  drivers/gpu/drm/drm_crtc_helper.c | 2 ++
  1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_crtc_helper.c +2 -0
index 499b05aaccfc..93a4eec429e8 100644
@@ -48,6 +48,8 @@
  #include <drm/drm_print.h>
  #include <drm/drm_vblank.h>
 
+#include "drm_crtc_helper_internal.h"
+
  /**
   * DOC: overview
   *
#3 lore raw
Quoted 13 lines · Benjamin GAIGNARD
Quoted 10 lines · Jose
Quoted 6 lines · Benjamin Gaignard

Include drm_crtc_helper_internal.h to provide
drm_connector_get_single_encoder
prototype.

Fixes a92462d6bf493 ("drm/connector: Share with non-atomic drivers

the function to get the single encoder")

drm_connector_get_single_encoder() is implemented before the use in this file so it is not broken, no need of a fixes tag.

Quoted 7 lines
Quoted 1 line

I will remove fixe tag before push it.

Thanks,

Benjamin

Applied on drm-misc-next with out Fixes tag.
Thanks for the review.

Benjamin

Quoted 27 lines
Quoted 18 lines
Quoted 18 lines
Cc José Roberto de Souza <[email protected]>
---
  drivers/gpu/drm/drm_crtc_helper.c | 2 ++
  1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_crtc_helper.c +0 -0
index 499b05aaccfc..93a4eec429e8 100644
@@ -48,6 +48,8 @@
  #include <drm/drm_print.h>
  #include <drm/drm_vblank.h>
 
Quoted 5 lines

drivers/gpu/drm/drm_crtc_helper.c line 55

Quoted 5 lines
drivers/gpu/drm/drm_crtc_helper.c +2 -0
+#include "drm_crtc_helper_internal.h"
+
  /**
   * DOC: overview
   *

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel