* [PATCH] drm/gma500: Remove unused mrst_helper_funcs
@ 2025-02-01 1:14 linux
2025-03-06 9:25 ` Patrik Jakobsson
0 siblings, 1 reply; 4+ messages in thread
From: linux @ 2025-02-01 1:14 UTC (permalink / raw)
To: patrik.r.jakobsson, maarten.lankhorst, mripard, tzimmermann,
airlied, simona
Cc: dri-devel, linux-kernel, Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
The mrst_helper_funcs const was added in 2013 by
commit ac6113ebb70d ("drm/gma500/mrst: Add SDVO clock calculation")
and commented as 'Not used yet'.
It's not been used since, so remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
drivers/gpu/drm/gma500/oaktrail_crtc.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c
index de8ccfe9890f..ea9b41af0867 100644
--- a/drivers/gpu/drm/gma500/oaktrail_crtc.c
+++ b/drivers/gpu/drm/gma500/oaktrail_crtc.c
@@ -658,10 +658,3 @@ const struct drm_crtc_helper_funcs oaktrail_helper_funcs = {
.prepare = gma_crtc_prepare,
.commit = gma_crtc_commit,
};
-
-/* Not used yet */
-const struct gma_clock_funcs mrst_clock_funcs = {
- .clock = mrst_lvds_clock,
- .limit = mrst_limit,
- .pll_is_valid = gma_pll_is_valid,
-};
--
2.48.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/gma500: Remove unused mrst_helper_funcs
2025-02-01 1:14 [PATCH] drm/gma500: Remove unused mrst_helper_funcs linux
@ 2025-03-06 9:25 ` Patrik Jakobsson
2025-03-06 15:17 ` Dr. David Alan Gilbert
0 siblings, 1 reply; 4+ messages in thread
From: Patrik Jakobsson @ 2025-03-06 9:25 UTC (permalink / raw)
To: linux
Cc: maarten.lankhorst, mripard, tzimmermann, airlied, simona,
dri-devel, linux-kernel
On Sat, Feb 1, 2025 at 2:14 AM <linux@treblig.org> wrote:
>
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> The mrst_helper_funcs const was added in 2013 by
> commit ac6113ebb70d ("drm/gma500/mrst: Add SDVO clock calculation")
> and commented as 'Not used yet'.
>
> It's not been used since, so remove it.
You talk about mrst_helper_funcs but the patch removes
mrst_clock_funcs. I assume this is not intentional.
-Patrik
>
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> ---
> drivers/gpu/drm/gma500/oaktrail_crtc.c | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c
> index de8ccfe9890f..ea9b41af0867 100644
> --- a/drivers/gpu/drm/gma500/oaktrail_crtc.c
> +++ b/drivers/gpu/drm/gma500/oaktrail_crtc.c
> @@ -658,10 +658,3 @@ const struct drm_crtc_helper_funcs oaktrail_helper_funcs = {
> .prepare = gma_crtc_prepare,
> .commit = gma_crtc_commit,
> };
> -
> -/* Not used yet */
> -const struct gma_clock_funcs mrst_clock_funcs = {
> - .clock = mrst_lvds_clock,
> - .limit = mrst_limit,
> - .pll_is_valid = gma_pll_is_valid,
> -};
> --
> 2.48.1
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/gma500: Remove unused mrst_helper_funcs
2025-03-06 9:25 ` Patrik Jakobsson
@ 2025-03-06 15:17 ` Dr. David Alan Gilbert
2025-03-06 15:52 ` Dr. David Alan Gilbert
0 siblings, 1 reply; 4+ messages in thread
From: Dr. David Alan Gilbert @ 2025-03-06 15:17 UTC (permalink / raw)
To: Patrik Jakobsson
Cc: maarten.lankhorst, mripard, tzimmermann, airlied, simona,
dri-devel, linux-kernel
* Patrik Jakobsson (patrik.r.jakobsson@gmail.com) wrote:
> On Sat, Feb 1, 2025 at 2:14 AM <linux@treblig.org> wrote:
> >
> > From: "Dr. David Alan Gilbert" <linux@treblig.org>
> >
> > The mrst_helper_funcs const was added in 2013 by
> > commit ac6113ebb70d ("drm/gma500/mrst: Add SDVO clock calculation")
> > and commented as 'Not used yet'.
> >
> > It's not been used since, so remove it.
Hi Patrik,
> You talk about mrst_helper_funcs but the patch removes
> mrst_clock_funcs. I assume this is not intentional.
Oops! Thanks for spotting that, I'll send a v2 fixing the commit
message; I think I was intending to write something like
'the helper functions it references are still used elsewhere.'
v2 coming up soon.
Dave
> -Patrik
>
> >
> > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> > ---
> > drivers/gpu/drm/gma500/oaktrail_crtc.c | 7 -------
> > 1 file changed, 7 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c
> > index de8ccfe9890f..ea9b41af0867 100644
> > --- a/drivers/gpu/drm/gma500/oaktrail_crtc.c
> > +++ b/drivers/gpu/drm/gma500/oaktrail_crtc.c
> > @@ -658,10 +658,3 @@ const struct drm_crtc_helper_funcs oaktrail_helper_funcs = {
> > .prepare = gma_crtc_prepare,
> > .commit = gma_crtc_commit,
> > };
> > -
> > -/* Not used yet */
> > -const struct gma_clock_funcs mrst_clock_funcs = {
> > - .clock = mrst_lvds_clock,
> > - .limit = mrst_limit,
> > - .pll_is_valid = gma_pll_is_valid,
> > -};
> > --
> > 2.48.1
> >
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/gma500: Remove unused mrst_helper_funcs
2025-03-06 15:17 ` Dr. David Alan Gilbert
@ 2025-03-06 15:52 ` Dr. David Alan Gilbert
0 siblings, 0 replies; 4+ messages in thread
From: Dr. David Alan Gilbert @ 2025-03-06 15:52 UTC (permalink / raw)
To: Patrik Jakobsson
Cc: maarten.lankhorst, mripard, tzimmermann, airlied, simona,
dri-devel, linux-kernel
* Dr. David Alan Gilbert (linux@treblig.org) wrote:
> * Patrik Jakobsson (patrik.r.jakobsson@gmail.com) wrote:
> > On Sat, Feb 1, 2025 at 2:14 AM <linux@treblig.org> wrote:
> > >
> > > From: "Dr. David Alan Gilbert" <linux@treblig.org>
> > >
> > > The mrst_helper_funcs const was added in 2013 by
> > > commit ac6113ebb70d ("drm/gma500/mrst: Add SDVO clock calculation")
> > > and commented as 'Not used yet'.
> > >
> > > It's not been used since, so remove it.
>
> Hi Patrik,
>
> > You talk about mrst_helper_funcs but the patch removes
> > mrst_clock_funcs. I assume this is not intentional.
>
> Oops! Thanks for spotting that, I'll send a v2 fixing the commit
> message; I think I was intending to write something like
> 'the helper functions it references are still used elsewhere.'
>
> v2 coming up soon.
See message 20250306155155.212599-1-linux@treblig.org.
Thanks again,
Dave
> Dave
>
> > -Patrik
> >
> > >
> > > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> > > ---
> > > drivers/gpu/drm/gma500/oaktrail_crtc.c | 7 -------
> > > 1 file changed, 7 deletions(-)
> > >
> > > diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c
> > > index de8ccfe9890f..ea9b41af0867 100644
> > > --- a/drivers/gpu/drm/gma500/oaktrail_crtc.c
> > > +++ b/drivers/gpu/drm/gma500/oaktrail_crtc.c
> > > @@ -658,10 +658,3 @@ const struct drm_crtc_helper_funcs oaktrail_helper_funcs = {
> > > .prepare = gma_crtc_prepare,
> > > .commit = gma_crtc_commit,
> > > };
> > > -
> > > -/* Not used yet */
> > > -const struct gma_clock_funcs mrst_clock_funcs = {
> > > - .clock = mrst_lvds_clock,
> > > - .limit = mrst_limit,
> > > - .pll_is_valid = gma_pll_is_valid,
> > > -};
> > > --
> > > 2.48.1
> > >
> >
> --
> -----Open up your eyes, open up your mind, open up your code -------
> / Dr. David Alan Gilbert | Running GNU/Linux | Happy \
> \ dave @ treblig.org | | In Hex /
> \ _________________________|_____ http://www.treblig.org |_______/
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-03-06 15:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-01 1:14 [PATCH] drm/gma500: Remove unused mrst_helper_funcs linux
2025-03-06 9:25 ` Patrik Jakobsson
2025-03-06 15:17 ` Dr. David Alan Gilbert
2025-03-06 15:52 ` Dr. David Alan Gilbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox