All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Subject: Re: [PATCH 1/2] drm/i915: allow userspace forcewake references also on gen7
Date: Tue, 24 Jan 2012 10:35:04 +0000	[thread overview]
Message-ID: <e39f63$3e5jo4@fmsmga002.fm.intel.com> (raw)
In-Reply-To: <1327394669-11681-1-git-send-email-daniel.vetter@ffwll.ch>

On Tue, 24 Jan 2012 09:44:28 +0100, Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
> We need this to correctly access registers in the gt power well from
> userspace.

How about a INTEL_INFO(dev)->has_forcewake or check for the
 ->forcewake_get? That would be more self-documenting, and we are less
likely to miss one in the future, than adding more random generation
checks.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

  parent reply	other threads:[~2012-01-24 10:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24  8:44 [PATCH 1/2] drm/i915: allow userspace forcewake references also on gen7 Daniel Vetter
2012-01-24  8:44 ` [PATCH 2/2] drm/i915: debugfs: show semaphore registers " Daniel Vetter
2012-01-24 14:45   ` Eugeni Dodonov
2012-01-24 19:08   ` Keith Packard
2012-01-24 21:32   ` Keith Packard
2012-01-24 10:35 ` Chris Wilson [this message]
2012-01-24 11:04   ` [PATCH 1/2] drm/i915: allow userspace forcewake references " Daniel Vetter
2012-01-24 14:47     ` Eugeni Dodonov
2012-01-24 14:46 ` Eugeni Dodonov
2012-01-24 19:08 ` Keith Packard
2012-01-24 21:31 ` Keith Packard

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='e39f63$3e5jo4@fmsmga002.fm.intel.com' \
    --to=chris@chris-wilson.co.uk \
    --cc=daniel.vetter@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 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.