2020-08-11 20:06:50

by Lyude Paul

[permalink] [raw]
Subject: [RFC 01/20] drm/nouveau/kms: Fix some indenting in nouveau_dp_detect()

Signed-off-by: Lyude Paul <[email protected]>
---
drivers/gpu/drm/nouveau/nouveau_dp.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_dp.c b/drivers/gpu/drm/nouveau/nouveau_dp.c
index 8a0f7994e1aeb..ee778ddc95fae 100644
--- a/drivers/gpu/drm/nouveau/nouveau_dp.c
+++ b/drivers/gpu/drm/nouveau/nouveau_dp.c
@@ -76,10 +76,10 @@ nouveau_dp_detect(struct nouveau_encoder *nv_encoder)
nv_encoder->dp.link_nr = dpcd[2] & DP_MAX_LANE_COUNT_MASK;

NV_DEBUG(drm, "display: %dx%d dpcd 0x%02x\n",
- nv_encoder->dp.link_nr, nv_encoder->dp.link_bw, dpcd[0]);
+ nv_encoder->dp.link_nr, nv_encoder->dp.link_bw, dpcd[0]);
NV_DEBUG(drm, "encoder: %dx%d\n",
- nv_encoder->dcb->dpconf.link_nr,
- nv_encoder->dcb->dpconf.link_bw);
+ nv_encoder->dcb->dpconf.link_nr,
+ nv_encoder->dcb->dpconf.link_bw);

if (nv_encoder->dcb->dpconf.link_nr < nv_encoder->dp.link_nr)
nv_encoder->dp.link_nr = nv_encoder->dcb->dpconf.link_nr;
@@ -87,7 +87,7 @@ nouveau_dp_detect(struct nouveau_encoder *nv_encoder)
nv_encoder->dp.link_bw = nv_encoder->dcb->dpconf.link_bw;

NV_DEBUG(drm, "maximum: %dx%d\n",
- nv_encoder->dp.link_nr, nv_encoder->dp.link_bw);
+ nv_encoder->dp.link_nr, nv_encoder->dp.link_bw);

nouveau_dp_probe_oui(dev, aux, dpcd);

--
2.26.2


2020-08-12 00:13:52

by Ben Skeggs

[permalink] [raw]
Subject: Re: [RFC 01/20] drm/nouveau/kms: Fix some indenting in nouveau_dp_detect()

On Wed, 12 Aug 2020 at 06:05, Lyude Paul <[email protected]> wrote:
>
> Signed-off-by: Lyude Paul <[email protected]>
Reviewed-by: Ben Skeggs <[email protected]>

> ---
> drivers/gpu/drm/nouveau/nouveau_dp.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/nouveau/nouveau_dp.c b/drivers/gpu/drm/nouveau/nouveau_dp.c
> index 8a0f7994e1aeb..ee778ddc95fae 100644
> --- a/drivers/gpu/drm/nouveau/nouveau_dp.c
> +++ b/drivers/gpu/drm/nouveau/nouveau_dp.c
> @@ -76,10 +76,10 @@ nouveau_dp_detect(struct nouveau_encoder *nv_encoder)
> nv_encoder->dp.link_nr = dpcd[2] & DP_MAX_LANE_COUNT_MASK;
>
> NV_DEBUG(drm, "display: %dx%d dpcd 0x%02x\n",
> - nv_encoder->dp.link_nr, nv_encoder->dp.link_bw, dpcd[0]);
> + nv_encoder->dp.link_nr, nv_encoder->dp.link_bw, dpcd[0]);
> NV_DEBUG(drm, "encoder: %dx%d\n",
> - nv_encoder->dcb->dpconf.link_nr,
> - nv_encoder->dcb->dpconf.link_bw);
> + nv_encoder->dcb->dpconf.link_nr,
> + nv_encoder->dcb->dpconf.link_bw);
>
> if (nv_encoder->dcb->dpconf.link_nr < nv_encoder->dp.link_nr)
> nv_encoder->dp.link_nr = nv_encoder->dcb->dpconf.link_nr;
> @@ -87,7 +87,7 @@ nouveau_dp_detect(struct nouveau_encoder *nv_encoder)
> nv_encoder->dp.link_bw = nv_encoder->dcb->dpconf.link_bw;
>
> NV_DEBUG(drm, "maximum: %dx%d\n",
> - nv_encoder->dp.link_nr, nv_encoder->dp.link_bw);
> + nv_encoder->dp.link_nr, nv_encoder->dp.link_bw);
>
> nouveau_dp_probe_oui(dev, aux, dpcd);
>
> --
> 2.26.2
>
> _______________________________________________
> dri-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/dri-devel