All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matt Roper <matthew.d.roper@intel.com>
To: "Xie, William" <william.xie@intel.com>
Cc: DRI Development <dri-devel@lists.freedesktop.org>
Subject: Re: Help on drmModeSetPlane
Date: Fri, 5 Jun 2015 10:19:33 -0700	[thread overview]
Message-ID: <20150605171932.GJ17555@intel.com> (raw)
In-Reply-To: <D95B070D38087A47ADCD55E64CDD74BD0EAE072E@SHSMSX101.ccr.corp.intel.com>

On Thu, Jun 04, 2015 at 04:59:41AM +0000, Xie, William wrote:
> Hi
> Does anyone know what the result value of "-34" means returned by drmModeSetPlane?
> 
> William

-34 is -ERANGE which generally gets raised if you request scaling that
your hardware (or driver) can't support.  Not all platforms are capable
of performing scaling and those that do support it generally have
limits.

You can also get an -ERANGE return if your coordinates could cause an
integer overflow (e.g., coordinates with values near INT_MAX).
 

Matt

-- 
Matt Roper
Graphics Software Engineer
IoTG Platform Enabling & Development
Intel Corporation
(916) 356-2795
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2015-06-05 17:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-15  8:52 Help on drmModeSetPlane Xie, William
2015-06-04  4:59 ` Xie, William
2015-06-05 17:19   ` Matt Roper [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-04-15  8:49 Xie, William
2015-04-15 11:22 ` Ville Syrjälä
2015-04-15 14:24   ` Xie, William
2015-04-15 14:33     ` Ville Syrjälä
2015-04-17  9:30       ` Xie, William
2015-04-17 10:07         ` Ville Syrjälä
2015-04-27  9:37           ` Xie, William
2015-04-27 12:48             ` Ville Syrjälä
2015-04-15  7:56 Xie, William

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=20150605171932.GJ17555@intel.com \
    --to=matthew.d.roper@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=william.xie@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.