All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Marc Ludwig <Brotbuechsenleasing@gmx.de>,
	dri-devel@lists.freedesktop.org
Subject: Re: access "Display Port Helper Functions" trough userspace
Date: Mon, 27 Apr 2015 15:24:26 +0300	[thread overview]
Message-ID: <87siblbvyd.fsf@intel.com> (raw)
In-Reply-To: <trinity-5f64b950-463b-4bbe-ae7f-ac57e91ac6b5-1429373047351@3capp-gmx-bs60>

On Sat, 18 Apr 2015, Marc Ludwig <Brotbuechsenleasing@gmx.de> wrote:
> Hi, Folks!
>  
> I'am looking for an opportunity to access the I2C-Interface which is attached
> to my displayport link.
> Can anyone give me a hint aubout an minimal working example for this?
>  
> I tried to figure aut how this could be solved using the linux userspace, but
> for me it looks like i have to implement my own driver
> according to https://www.kernel.org/doc/htmldocs/drm/ch02s05.html#idp10812112
>  this should be done by describing an
> drm_dp_aux_msg structure, which is passed into a driver's .transfer
>  implementation.

You may be conflating two things here. DP has a native AUX channel, and
I2C-over-AUX on top. If it's DDC you're after, you want I2C, and the I2C
adapters are exposed to userspace. You might want to have a look at
ddccontrol [1]. It's not minimal and seems to be abandoned, but last
time I tried I could use it to control my monitor.

If it's DP AUX you're after (why?) there was some discussion about
adding such an interface in the thread starting at [2].

BR,
Jani.


[1] http://ddccontrol.sourceforge.net/
[2] http://mid.gmane.org/1428493301-20293-1-git-send-email-durgadoss.r@intel.com


> Furthermore i was looking into some packages (the working machine runs an
> ArchLinux-Distro) which where provided.
> $ extra/libdrm 2.4.60-2 :Userspace interface to kernel DRM services
> $ extra/libva-intel-driver 1.5.1-1 : VA-API implementation for Intel G45 and HD
> Graphics family (the working machine has an Intel HD4000 GPU)
> But none of them does provide such helper functions.
>  
> Thank you for your time, with kind Regards,
>  
>  
> Marc
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

      reply	other threads:[~2015-04-27 12:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-18 16:04 access "Display Port Helper Functions" trough userspace Marc Ludwig
2015-04-27 12:24 ` Jani Nikula [this message]

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=87siblbvyd.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=Brotbuechsenleasing@gmx.de \
    --cc=dri-devel@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.