From: "Gupta, Anshuman" <anshuman.gupta@intel.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: [Intel-gfx] [PATCH] drm/i915/debugfs: xelpd lpsp capability
Date: Mon, 12 Jul 2021 05:43:48 +0000 [thread overview]
Message-ID: <0fd7ee581e9442dc8ec4ba3f9c53ffa0@intel.com> (raw)
In-Reply-To: <CAKMK7uFcaV2YkBX-1-_E4-zajS-kMFo23bKpFVLiZdrzPBMOnw@mail.gmail.com>
> -----Original Message-----
> From: Daniel Vetter <daniel@ffwll.ch>
> Sent: Friday, July 9, 2021 8:52 PM
> To: Gupta, Anshuman <anshuman.gupta@intel.com>
> Cc: intel-gfx <intel-gfx@lists.freedesktop.org>
> Subject: Re: [Intel-gfx] [PATCH] drm/i915/debugfs: xelpd lpsp capability
>
> On Fri, Jul 9, 2021 at 2:12 PM Anshuman Gupta <anshuman.gupta@intel.com>
> wrote:
> >
> > Extend i915_lpsp_capability sysfs to xelpd and future platforms.
>
> You're talking about sysfs but the patch is toucing a _debugfs.c file.
> Something is very, very wrong here, either the commit message, or worse, the
> code that's there already.
>
> If this is indeed sysfs it must be split out asap, and ideally also documented and
> all that, because sysfs is uapi
Thanks for pointing this out.
I will fix the commit log in next version , it is debugfs under /sys/kernel/debug/dri/*
Br,
Anshuman Gupta
> -Daniel
>
> >
> > Cc: Animesh Manna <animesh.manna@intel.com>
> > Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
> > ---
> > drivers/gpu/drm/i915/display/intel_display_debugfs.c | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/i915/display/intel_display_debugfs.c
> > b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
> > index af9e58619667..75d991a0707e 100644
> > --- a/drivers/gpu/drm/i915/display/intel_display_debugfs.c
> > +++ b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
> > @@ -2255,6 +2255,11 @@ static int i915_lpsp_capability_show(struct seq_file
> *m, void *data)
> > if (connector->status != connector_status_connected)
> > return -ENODEV;
> >
> > + if (DISPLAY_VER(i915) >= 13) {
> > + LPSP_CAPABLE(encoder->port <= PORT_B);
> > + return 0;
> > + }
> > +
> > switch (DISPLAY_VER(i915)) {
> > case 12:
> > /*
> > --
> > 2.26.2
> >
> > _______________________________________________
> > Intel-gfx mailing list
> > Intel-gfx@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/intel-gfx
>
>
>
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2021-07-12 5:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-09 11:54 [Intel-gfx] [PATCH] drm/i915/debugfs: xelpd lpsp capability Anshuman Gupta
2021-07-09 13:43 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2021-07-09 15:21 ` [Intel-gfx] [PATCH] " Daniel Vetter
2021-07-12 5:43 ` Gupta, Anshuman [this message]
2021-07-10 6:25 ` [Intel-gfx] ✗ Fi.CI.IGT: failure for " Patchwork
2021-07-12 6:58 ` [Intel-gfx] [PATCH] " Manna, Animesh
2021-07-13 7:57 ` [Intel-gfx] [PATCH] drm/i915/debugfs: DISPLAY_VER 13 " Anshuman Gupta
2021-07-14 13:00 ` Manna, Animesh
2021-07-14 13:38 ` Gupta, Anshuman
2021-07-13 9:13 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/debugfs: xelpd lpsp capability (rev2) Patchwork
2021-07-13 11:08 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0fd7ee581e9442dc8ec4ba3f9c53ffa0@intel.com \
--to=anshuman.gupta@intel.com \
--cc=daniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox