public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: nick <xerofoify@gmail.com>
To: daniel.vetter@intel.com
Cc: airlied@linux.ie, intel-gfx@lists.freedesktop.org,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Code Testing for i915_irq.c
Date: Fri, 02 Jan 2015 12:59:07 -0500	[thread overview]
Message-ID: <54A6DC6B.8050206@gmail.com> (raw)

Greetings Daniel and others,
I am wondering if the code below has been tested on actual hardware:
        if (!HAS_PCH_NOP(dev) && master_ctl & GEN8_DE_PCH_IRQ) {
                /*
                * FIXME(BDW): Assume for now that the new interrupt handling
                * scheme also closed the SDE interrupt handling race we've seen
                * on older pch-split platforms. But this needs testing.
                */
               u32 pch_iir = I915_READ(SDEIIR);
               if (pch_iir) {
                       I915_WRITE(SDEIIR, pch_iir);
                        ret = IRQ_HANDLED;
                        cpt_irq_handler(dev, pch_iir);
               } else
                         DRM_ERROR("The master control interrupt lied (SDE)!\n");

        }
If this code has been tested on actual hardware is there any breakages that need
fixing? In addition if this hasn't been tested this is just a friendly reminder
to do so :).
Thanks,
Nick  
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

                 reply	other threads:[~2015-01-02 17:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=54A6DC6B.8050206@gmail.com \
    --to=xerofoify@gmail.com \
    --cc=airlied@linux.ie \
    --cc=daniel.vetter@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.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