From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: "Lofstedt, Marta" <marta.lofstedt@intel.com>,
"Pandiyan, Dhinakaran" <dhinakaran.pandiyan@intel.com>,
"igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>
Cc: "Vivi, Rodrigo" <rodrigo.vivi@intel.com>
Subject: Re: [igt-dev] [PATCH i-g-t] tests/kms_frontbuffer_tracking: Update check for PSR status
Date: Fri, 16 Mar 2018 17:27:55 +0100 [thread overview]
Message-ID: <41ba4832-9a9c-d9c4-4056-d76daed9978e@linux.intel.com> (raw)
In-Reply-To: <CA5F6A4B62957246A95956419746064382B5F2FC@IRSMSX106.ger.corp.intel.com>
Op 16-03-18 om 07:29 schreef Lofstedt, Marta:
> I would RB this if there was some kms_frontbuffer_tracking PSR related tests that was run on PW.
>
> Could you re-send this together with a HACK patch on fast-feedback.testlist where you replace the standard tests with some kms_frontbuffer_tracking PSR related tests that was hit on the bug?
>
Same..
Link standby mode only matches the dev_priv->link_standby parameter not the actual hw mode, so this patch is
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
>> -----Original Message-----
>> From: igt-dev [mailto:igt-dev-bounces@lists.freedesktop.org] On Behalf Of
>> Dhinakaran Pandiyan
>> Sent: Friday, March 16, 2018 3:21 AM
>> To: igt-dev@lists.freedesktop.org
>> Cc: Pandiyan, Dhinakaran <dhinakaran.pandiyan@intel.com>; Vivi, Rodrigo
>> <rodrigo.vivi@intel.com>
>> Subject: [igt-dev] [PATCH i-g-t] tests/kms_frontbuffer_tracking: Update
>> check for PSR status
>>
>> Kernel does not expose the "Active: " flag in edp_psr_status anymore.
>> So test for "HW Enabled & Active bit: yes", although this isn't completely
>> accurate either for frontbuffer tests. Let's go with this for now until the
>> kernel exposes HW PSR status.
>>
>> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
>> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105519
>> Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
>> ---
>> tests/kms_fbcon_fbt.c | 2 +-
>> tests/kms_frontbuffer_tracking.c | 3 +--
>> 2 files changed, 2 insertions(+), 3 deletions(-)
>>
>> diff --git a/tests/kms_fbcon_fbt.c b/tests/kms_fbcon_fbt.c index
>> b01c769c..280ddbd7 100644
>> --- a/tests/kms_fbcon_fbt.c
>> +++ b/tests/kms_fbcon_fbt.c
>> @@ -189,7 +189,7 @@ static bool psr_is_enabled(int fd)
>> char buf[256];
>>
>> igt_debugfs_read(fd, "i915_edp_psr_status", buf);
>> - return strstr(buf, "\nActive: yes\n");
>> + return strstr(buf, "\nHW Enabled & Active bit: yes\n");
>> }
>>
>> static bool psr_wait_until_enabled(int fd) diff --git
>> a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
>> index 2b85392d..5cba4158 100644
>> --- a/tests/kms_frontbuffer_tracking.c
>> +++ b/tests/kms_frontbuffer_tracking.c
>> @@ -781,8 +781,7 @@ static bool psr_is_enabled(void)
>> char buf[256];
>>
>> debugfs_read("i915_edp_psr_status", buf);
>> - return strstr(buf, "\nActive: yes\n") &&
>> - strstr(buf, "\nHW Enabled & Active bit: yes\n");
>> + return strstr(buf, "\nHW Enabled & Active bit: yes\n");
>> }
>>
>> static void psr_print_status(void)
>> --
>> 2.14.1
>>
>> _______________________________________________
>> igt-dev mailing list
>> igt-dev@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/igt-dev
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2018-03-16 16:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-16 1:21 [igt-dev] [PATCH i-g-t] tests/kms_frontbuffer_tracking: Update check for PSR status Dhinakaran Pandiyan
2018-03-16 1:41 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-03-16 3:11 ` [igt-dev] ✗ Fi.CI.IGT: warning " Patchwork
2018-03-16 6:29 ` [igt-dev] [PATCH i-g-t] " Lofstedt, Marta
2018-03-16 16:27 ` Maarten Lankhorst [this message]
2018-03-20 11:26 ` Lofstedt, Marta
2018-03-20 11:36 ` Maarten Lankhorst
2018-03-16 16:19 ` Maarten Lankhorst
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=41ba4832-9a9c-d9c4-4056-d76daed9978e@linux.intel.com \
--to=maarten.lankhorst@linux.intel.com \
--cc=dhinakaran.pandiyan@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=marta.lofstedt@intel.com \
--cc=rodrigo.vivi@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.