drm/fb-helper: Unexport cmdline helpers
Subsystems (2)
PATCH 1/1 drm/fb-helper: Unexport cmdline helpers
No longer needed since the i915 initial config logic was pulled into the shared helper by Noralf.
Spotted while reviewing patches from Ville.
--- drivers/gpu/drm/drm_fb_helper.c | 9 +++++---- include/drm/drm_fb_helper.h | 5 ----- 2 files changed, 5 insertions(+), 9 deletions(-)
drivers/gpu/drm/drm_fb_helper.c +5 -4
@@ -2138,7 +2138,9 @@ static int drm_fb_helper_probe_connector_modes(struct drm_fb_helper *fb_helper,return count; } -struct drm_display_mode *drm_has_preferred_mode (struct drm_fb_helper_connector *fb_connector,int width,int height) +static struct drm_display_mode * +drm_has_preferred_mode (struct drm_fb_helper_connector *fb_connector, +int width,int height) {struct drm_display_mode *mode;
@@ -2151,14 +2153,14 @@ struct drm_display_mode *drm_has_preferred_mode(struct drm_fb_helper_connector * }return NULL ; } -EXPORT_SYMBOL (drm_has_preferred_mode);static bool drm_has_cmdline_mode (struct drm_fb_helper_connector *fb_connector) {return fb_connector->connector->cmdline_mode.specified; } -struct drm_display_mode *drm_pick_cmdline_mode (struct drm_fb_helper_connector *fb_helper_conn) +static struct drm_display_mode * +drm_pick_cmdline_mode (struct drm_fb_helper_connector *fb_helper_conn) {struct drm_cmdline_mode *cmdline_mode;struct drm_display_mode *mode;
@@ -2208,7 +2210,6 @@ struct drm_display_mode *drm_pick_cmdline_mode(struct drm_fb_helper_connector *flist_add (&mode->head, &fb_helper_conn->connector->modes);return mode; } -EXPORT_SYMBOL (drm_pick_cmdline_mode);static bool drm_connector_enabled (struct drm_connector *connector,bool strict) {
include/drm/drm_fb_helper.h +0 -5
@@ -289,11 +289,6 @@ int drm_fb_helper_initial_config(struct drm_fb_helper *fb_helper, int bpp_sel);int drm_fb_helper_single_add_all_connectors (struct drm_fb_helper *fb_helper);int drm_fb_helper_debug_enter (struct fb_info *info);int drm_fb_helper_debug_leave (struct fb_info *info); -struct drm_display_mode * -drm_has_preferred_mode (struct drm_fb_helper_connector *fb_connector, -int width,int height); -struct drm_display_mode * -drm_pick_cmdline_mode (struct drm_fb_helper_connector *fb_helper_conn);int drm_fb_helper_add_one_connector (struct drm_fb_helper *fb_helper,struct drm_connector *connector); int drm_fb_helper_remove_one_connector(struct drm_fb_helper *fb_helper,
Signature · 6 lines
2.20.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Den 07.06.2019 20.52, skrev Daniel Vetter:
Quoted 3 lines
No longer needed since the i915 initial config logic was pulled into the shared helper by Noralf.
I'm fixing this when I move the modeset code to drm_client. I hope I can apply the remaining bits this week (sent a v8). The CI gave me a failure on v7 and the trybot has given me weird/changing failures this week when I have tried to find which patch it chokes on. I don't think there's any wrong with the patchset since it has been cleared by the CI several times, and the patches in question has not been changed. Well, we'll see.
Noralf.
Quoted 57 lines
Spotted while reviewing patches from Ville.
Cc Noralf Trønnes <[email protected]>Cc Ville Syrjala <[email protected]>Signed-off-by Daniel Vetter <[email protected]>--- drivers/gpu/drm/drm_fb_helper.c | 9 +++++---- include/drm/drm_fb_helper.h | 5 ----- 2 files changed, 5 insertions(+), 9 deletions(-)drivers/gpu/drm/drm_fb_helper.c +5
-4@@ -2138,7 +2138,9 @@ static int drm_fb_helper_probe_connector_modes(struct drm_fb_helper *fb_helper,return count; } -struct drm_display_mode *drm_has_preferred_mode (struct drm_fb_helper_connector *fb_connector,int width,int height) +static struct drm_display_mode * +drm_has_preferred_mode (struct drm_fb_helper_connector *fb_connector, +int width,int height) {struct drm_display_mode *mode;@@ -2151,14 +2153,14 @@ struct drm_display_mode *drm_has_preferred_mode(struct drm_fb_helper_connector * }return NULL ; } -EXPORT_SYMBOL (drm_has_preferred_mode);static bool drm_has_cmdline_mode (struct drm_fb_helper_connector *fb_connector) {return fb_connector->connector->cmdline_mode.specified; } -struct drm_display_mode *drm_pick_cmdline_mode (struct drm_fb_helper_connector *fb_helper_conn) +static struct drm_display_mode * +drm_pick_cmdline_mode (struct drm_fb_helper_connector *fb_helper_conn) {struct drm_cmdline_mode *cmdline_mode;struct drm_display_mode *mode;@@ -2208,7 +2210,6 @@ struct drm_display_mode *drm_pick_cmdline_mode(struct drm_fb_helper_connector *flist_add (&mode->head, &fb_helper_conn->connector->modes);return mode; } -EXPORT_SYMBOL (drm_pick_cmdline_mode);static bool drm_connector_enabled (struct drm_connector *connector,bool strict) {include/drm/drm_fb_helper.h +0
-0@@ -289,11 +289,6 @@ int drm_fb_helper_initial_config(struct drm_fb_helper *fb_helper, int bpp_sel);int drm_fb_helper_single_add_all_connectors (struct drm_fb_helper *fb_helper);
include/drm/drm_fb_helper.h int drm_fb_helper_initial_config(struct drm_fb_helper *fb_helper, int bpp_sel); · line 294
Quoted 10 lines
include/drm/drm_fb_helper.h +0
-5int drm_fb_helper_debug_enter (struct fb_info *info);int drm_fb_helper_debug_leave (struct fb_info *info); -struct drm_display_mode * -drm_has_preferred_mode (struct drm_fb_helper_connector *fb_connector, -int width,int height); -struct drm_display_mode * -drm_pick_cmdline_mode (struct drm_fb_helper_connector *fb_helper_conn);int drm_fb_helper_add_one_connector (struct drm_fb_helper *fb_helper,struct drm_connector *connector); int drm_fb_helper_remove_one_connector(struct drm_fb_helper *fb_helper,
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 7 lines · Noralf Trønnes
Den 07.06.2019 20.52, skrev Daniel Vetter:
Quoted 3 lines
No longer needed since the i915 initial config logic was pulled into the shared helper by Noralf.
Quoted 6 lines
I'm fixing this when I move the modeset code to
drm_client. I hope I can apply the remaining bits this week (sent a v8). The CI gave me a failure on v7 and the trybot has given me weird/changing failures this week when I have tried to find which patch it chokes on. I don't think there's any wrong with the patchset since it has been cleared by the CI several times, and the patches in question has not been changed. Well, we'll see.
CI is having a bit a bad time right now, tbh I'd say go ahead. With your current patchset I'm not seeing anything that could affect i915 much.
And yeah I can just wait and throw this one out from my patch pile when your stuff has landed.
-Daniel
Quoted 69 lines
Noralf.
Quoted 67 lines
Spotted while reviewing patches from Ville.
Cc Noralf Trønnes <[email protected]>Cc Ville Syrjala <[email protected]>Signed-off-by Daniel Vetter <[email protected]>--- drivers/gpu/drm/drm_fb_helper.c | 9 +++++---- include/drm/drm_fb_helper.h | 5 ----- 2 files changed, 5 insertions(+), 9 deletions(-)drivers/gpu/drm/drm_fb_helper.c +5
-4@@ -2138,7 +2138,9 @@ static int drm_fb_helper_probe_connector_modes(struct drm_fb_helper *fb_helper,return count; } -struct drm_display_mode *drm_has_preferred_mode (struct drm_fb_helper_connector *fb_connector,int width,int height) +static struct drm_display_mode * +drm_has_preferred_mode (struct drm_fb_helper_connector *fb_connector, +int width,int height) {struct drm_display_mode *mode;@@ -2151,14 +2153,14 @@ struct drm_display_mode *drm_has_preferred_mode(struct drm_fb_helper_connector * }return NULL ; } -EXPORT_SYMBOL (drm_has_preferred_mode);static bool drm_has_cmdline_mode (struct drm_fb_helper_connector *fb_connector) {return fb_connector->connector->cmdline_mode.specified; } -struct drm_display_mode *drm_pick_cmdline_mode (struct drm_fb_helper_connector *fb_helper_conn) +static struct drm_display_mode * +drm_pick_cmdline_mode (struct drm_fb_helper_connector *fb_helper_conn) {struct drm_cmdline_mode *cmdline_mode;struct drm_display_mode *mode;@@ -2208,7 +2210,6 @@ struct drm_display_mode *drm_pick_cmdline_mode(struct drm_fb_helper_connector *flist_add (&mode->head, &fb_helper_conn->connector->modes);return mode; } -EXPORT_SYMBOL (drm_pick_cmdline_mode);static bool drm_connector_enabled (struct drm_connector *connector,bool strict) {include/drm/drm_fb_helper.h +0
-5@@ -289,11 +289,6 @@ int drm_fb_helper_initial_config(struct drm_fb_helper *fb_helper, int bpp_sel);int drm_fb_helper_single_add_all_connectors (struct drm_fb_helper *fb_helper);int drm_fb_helper_debug_enter (struct fb_info *info);int drm_fb_helper_debug_leave (struct fb_info *info); -struct drm_display_mode * -drm_has_preferred_mode (struct drm_fb_helper_connector *fb_connector, -int width,int height); -struct drm_display_mode * -drm_pick_cmdline_mode (struct drm_fb_helper_connector *fb_helper_conn);int drm_fb_helper_add_one_connector (struct drm_fb_helper *fb_helper,struct drm_connector *connector); int drm_fb_helper_remove_one_connector(struct drm_fb_helper *fb_helper,
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Den 11.06.2019 10.06, skrev Daniel Vetter:
Quoted 15 lines · Noralf Trønnes
Quoted 7 lines
Den 07.06.2019 20.52, skrev Daniel Vetter:
Quoted 3 lines
No longer needed since the i915 initial config logic was pulled into the shared helper by Noralf.
Quoted 6 lines
I'm fixing this when I move the modeset code to
drm_client. I hope I can apply the remaining bits this week (sent a v8). The CI gave me a failure on v7 and the trybot has given me weird/changing failures this week when I have tried to find which patch it chokes on. I don't think there's any wrong with the patchset since it has been cleared by the CI several times, and the patches in question has not been changed. Well, we'll see.
Quoted 3 lines
CI is having a bit a bad time right now, tbh I'd say go ahead. With your current patchset I'm not seeing anything that could affect i915 much.
Ah that explains my conflicting CI results. Anyway the CI agreed now so I have applied the patches before it changes its mind :-)
Noralf.
Quoted 71 lines
And yeah I can just wait and throw this one out from my patch pile when your stuff has landed.
-DanielQuoted 66 lines
Noralf.
Quoted 64 lines
Spotted while reviewing patches from Ville.
Cc Noralf Trønnes <[email protected]>Cc Ville Syrjala <[email protected]>Signed-off-by Daniel Vetter <[email protected]>--- drivers/gpu/drm/drm_fb_helper.c | 9 +++++---- include/drm/drm_fb_helper.h | 5 ----- 2 files changed, 5 insertions(+), 9 deletions(-)drivers/gpu/drm/drm_fb_helper.c +5
-4@@ -2138,7 +2138,9 @@ static int drm_fb_helper_probe_connector_modes(struct drm_fb_helper *fb_helper,return count; } -struct drm_display_mode *drm_has_preferred_mode (struct drm_fb_helper_connector *fb_connector,int width,int height) +static struct drm_display_mode * +drm_has_preferred_mode (struct drm_fb_helper_connector *fb_connector, +int width,int height) {struct drm_display_mode *mode;@@ -2151,14 +2153,14 @@ struct drm_display_mode *drm_has_preferred_mode(struct drm_fb_helper_connector * }return NULL ; } -EXPORT_SYMBOL (drm_has_preferred_mode);static bool drm_has_cmdline_mode (struct drm_fb_helper_connector *fb_connector) {return fb_connector->connector->cmdline_mode.specified; } -struct drm_display_mode *drm_pick_cmdline_mode (struct drm_fb_helper_connector *fb_helper_conn) +static struct drm_display_mode * +drm_pick_cmdline_mode (struct drm_fb_helper_connector *fb_helper_conn) {struct drm_cmdline_mode *cmdline_mode;struct drm_display_mode *mode;@@ -2208,7 +2210,6 @@ struct drm_display_mode *drm_pick_cmdline_mode(struct drm_fb_helper_connector *flist_add (&mode->head, &fb_helper_conn->connector->modes);return mode; } -EXPORT_SYMBOL (drm_pick_cmdline_mode);static bool drm_connector_enabled (struct drm_connector *connector,bool strict) {include/drm/drm_fb_helper.h +0
-5@@ -289,11 +289,6 @@ int drm_fb_helper_initial_config(struct drm_fb_helper *fb_helper, int bpp_sel);int drm_fb_helper_single_add_all_connectors (struct drm_fb_helper *fb_helper);int drm_fb_helper_debug_enter (struct fb_info *info);int drm_fb_helper_debug_leave (struct fb_info *info); -struct drm_display_mode * -drm_has_preferred_mode (struct drm_fb_helper_connector *fb_connector, -int width,int height); -struct drm_display_mode * -drm_pick_cmdline_mode (struct drm_fb_helper_connector *fb_helper_conn);
Quoted 4 lines
Quoted 3 lines
include/drm/drm_fb_helper.h int drm_fb_helper_initial_config(struct drm_fb_helper *fb_helper, int bpp_sel); · line 294
Quoted 3 lines
include/drm/drm_fb_helper.h +0
-0int drm_fb_helper_add_one_connector (struct drm_fb_helper *fb_helper,struct drm_connector *connector); int drm_fb_helper_remove_one_connector(struct drm_fb_helper *fb_helper,
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel