* [Intel-gfx] [PATCH] drm/i915: fix an error code in intel_modeset_all_tiles()
@ 2020-01-07 13:03 Dan Carpenter
2020-01-07 14:01 ` Souza, Jose
2020-01-07 16:53 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
0 siblings, 2 replies; 7+ messages in thread
From: Dan Carpenter @ 2020-01-07 13:03 UTC (permalink / raw)
To: Jani Nikula, Manasi Navare; +Cc: David Airlie, kernel-janitors, intel-gfx
There is a cut and paste bug so we return the wrong error code.
Fixes: a603f5bd1691 ("drm/i915/dp: Make sure all tiled connectors get added to the state with full modeset")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
drivers/gpu/drm/i915/display/intel_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index da5266e76738..a96bee699a5e 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -14424,7 +14424,7 @@ intel_modeset_all_tiles(struct intel_atomic_state *state, int tile_grp_id)
crtc_state = drm_atomic_get_crtc_state(&state->base,
conn_state->crtc);
if (IS_ERR(crtc_state)) {
- ret = PTR_ERR(conn_state);
+ ret = PTR_ERR(crtc_state);
break;
}
crtc_state->mode_changed = true;
--
2.11.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [Intel-gfx] [PATCH] drm/i915: fix an error code in intel_modeset_all_tiles()
2020-01-07 13:03 [Intel-gfx] [PATCH] drm/i915: fix an error code in intel_modeset_all_tiles() Dan Carpenter
@ 2020-01-07 14:01 ` Souza, Jose
2020-01-07 14:05 ` Chris Wilson
2020-01-07 16:53 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
1 sibling, 1 reply; 7+ messages in thread
From: Souza, Jose @ 2020-01-07 14:01 UTC (permalink / raw)
To: dan.carpenter@oracle.com
Cc: intel-gfx@lists.freedesktop.org, kernel-janitors@vger.kernel.org
On Tue, 2020-01-07 at 16:03 +0300, Dan Carpenter wrote:
> There is a cut and paste bug so we return the wrong error code.
>
> Fixes: a603f5bd1691 ("drm/i915/dp: Make sure all tiled connectors get
> added to the state with full modeset")
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> ---
> drivers/gpu/drm/i915/display/intel_display.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_display.c
> b/drivers/gpu/drm/i915/display/intel_display.c
> index da5266e76738..a96bee699a5e 100644
> --- a/drivers/gpu/drm/i915/display/intel_display.c
> +++ b/drivers/gpu/drm/i915/display/intel_display.c
> @@ -14424,7 +14424,7 @@ intel_modeset_all_tiles(struct
> intel_atomic_state *state, int tile_grp_id)
> crtc_state = drm_atomic_get_crtc_state(&state->base,
> conn_state-
> >crtc);
> if (IS_ERR(crtc_state)) {
> - ret = PTR_ERR(conn_state);
> + ret = PTR_ERR(crtc_state);
> break;
> }
> crtc_state->mode_changed = true;
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Intel-gfx] [PATCH] drm/i915: fix an error code in intel_modeset_all_tiles()
2020-01-07 14:01 ` Souza, Jose
@ 2020-01-07 14:05 ` Chris Wilson
2020-01-08 14:33 ` Jani Nikula
0 siblings, 1 reply; 7+ messages in thread
From: Chris Wilson @ 2020-01-07 14:05 UTC (permalink / raw)
To: Souza, Jose, dan.carpenter@oracle.com
Cc: intel-gfx@lists.freedesktop.org, kernel-janitors@vger.kernel.org
Quoting Souza, Jose (2020-01-07 14:01:40)
> On Tue, 2020-01-07 at 16:03 +0300, Dan Carpenter wrote:
> > There is a cut and paste bug so we return the wrong error code.
> >
> > Fixes: a603f5bd1691 ("drm/i915/dp: Make sure all tiled connectors get
> > added to the state with full modeset")
>
> Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
>
> > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Pushed. Thanks for the patch,
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: fix an error code in intel_modeset_all_tiles()
2020-01-07 13:03 [Intel-gfx] [PATCH] drm/i915: fix an error code in intel_modeset_all_tiles() Dan Carpenter
2020-01-07 14:01 ` Souza, Jose
@ 2020-01-07 16:53 ` Patchwork
1 sibling, 0 replies; 7+ messages in thread
From: Patchwork @ 2020-01-07 16:53 UTC (permalink / raw)
To: Dan Carpenter; +Cc: intel-gfx
== Series Details ==
Series: drm/i915: fix an error code in intel_modeset_all_tiles()
URL : https://patchwork.freedesktop.org/series/71694/
State : failure
== Summary ==
Applying: drm/i915: fix an error code in intel_modeset_all_tiles()
Using index info to reconstruct a base tree...
M drivers/gpu/drm/i915/display/intel_display.c
Falling back to patching base and 3-way merge...
Auto-merging drivers/gpu/drm/i915/display/intel_display.c
No changes -- Patch already applied.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Intel-gfx] [PATCH] drm/i915: fix an error code in intel_modeset_all_tiles()
2020-01-07 14:05 ` Chris Wilson
@ 2020-01-08 14:33 ` Jani Nikula
2020-01-08 14:38 ` Chris Wilson
0 siblings, 1 reply; 7+ messages in thread
From: Jani Nikula @ 2020-01-08 14:33 UTC (permalink / raw)
To: Chris Wilson, Souza, Jose; +Cc: intel-gfx@lists.freedesktop.org, martin.peres
On Tue, 07 Jan 2020, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> Quoting Souza, Jose (2020-01-07 14:01:40)
>> On Tue, 2020-01-07 at 16:03 +0300, Dan Carpenter wrote:
>> > There is a cut and paste bug so we return the wrong error code.
>> >
>> > Fixes: a603f5bd1691 ("drm/i915/dp: Make sure all tiled connectors get
>> > added to the state with full modeset")
>>
>> Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
>>
>> > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
>
> Pushed. Thanks for the patch,
Hrmh, we are still supposed to wait for CI results for every patch, no
exceptions.
If it's not "every patch", it's going to be a subjective assessment, and
I really don't like where that would lead. Who's going to say what's
going to be just fine. Even if it's "obviously correct".
As it is, this patch won't get the CI results at all now because BAT
fails with "patch already applied". Tracing any issues back to this
patch would mean bisecting the results from drm-tip runs.
---
If the problem is that CI is too heavy, slow and itself error prone for
small patches, then that's what we need to address instead of just
bypassing CI.
I also don't like the prospect of spending time on hacking dim to
double-check the patches passed CI before pushing.
BR,
Jani.
--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Intel-gfx] [PATCH] drm/i915: fix an error code in intel_modeset_all_tiles()
2020-01-08 14:33 ` Jani Nikula
@ 2020-01-08 14:38 ` Chris Wilson
2020-01-09 11:17 ` Jani Nikula
0 siblings, 1 reply; 7+ messages in thread
From: Chris Wilson @ 2020-01-08 14:38 UTC (permalink / raw)
To: Souza, Jose, Jani Nikula; +Cc: intel-gfx@lists.freedesktop.org, martin.peres
Quoting Jani Nikula (2020-01-08 14:33:22)
> On Tue, 07 Jan 2020, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> > Quoting Souza, Jose (2020-01-07 14:01:40)
> >> On Tue, 2020-01-07 at 16:03 +0300, Dan Carpenter wrote:
> >> > There is a cut and paste bug so we return the wrong error code.
> >> >
> >> > Fixes: a603f5bd1691 ("drm/i915/dp: Make sure all tiled connectors get
> >> > added to the state with full modeset")
> >>
> >> Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
> >>
> >> > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> >
> > Pushed. Thanks for the patch,
>
> Hrmh, we are still supposed to wait for CI results for every patch, no
> exceptions.
There is no coverage of that path in CI.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Intel-gfx] [PATCH] drm/i915: fix an error code in intel_modeset_all_tiles()
2020-01-08 14:38 ` Chris Wilson
@ 2020-01-09 11:17 ` Jani Nikula
0 siblings, 0 replies; 7+ messages in thread
From: Jani Nikula @ 2020-01-09 11:17 UTC (permalink / raw)
To: Chris Wilson, Souza, Jose; +Cc: intel-gfx@lists.freedesktop.org, martin.peres
On Wed, 08 Jan 2020, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> Quoting Jani Nikula (2020-01-08 14:33:22)
>> On Tue, 07 Jan 2020, Chris Wilson <chris@chris-wilson.co.uk> wrote:
>> > Quoting Souza, Jose (2020-01-07 14:01:40)
>> >> On Tue, 2020-01-07 at 16:03 +0300, Dan Carpenter wrote:
>> >> > There is a cut and paste bug so we return the wrong error code.
>> >> >
>> >> > Fixes: a603f5bd1691 ("drm/i915/dp: Make sure all tiled connectors get
>> >> > added to the state with full modeset")
>> >>
>> >> Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
>> >>
>> >> > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
>> >
>> > Pushed. Thanks for the patch,
>>
>> Hrmh, we are still supposed to wait for CI results for every patch, no
>> exceptions.
>
> There is no coverage of that path in CI.
Maybe not, but making that assessment is not obvious to me.
I don't want to start on the slippery slope of people pushing untested
patches claiming "no coverage".
BR,
Jani.
--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-01-09 11:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-07 13:03 [Intel-gfx] [PATCH] drm/i915: fix an error code in intel_modeset_all_tiles() Dan Carpenter
2020-01-07 14:01 ` Souza, Jose
2020-01-07 14:05 ` Chris Wilson
2020-01-08 14:33 ` Jani Nikula
2020-01-08 14:38 ` Chris Wilson
2020-01-09 11:17 ` Jani Nikula
2020-01-07 16:53 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox