* libdrm to read/write drm_dpcd helper functions.
@ 2018-05-25 3:37 lester magtagad
2018-05-25 8:39 ` Jani Nikula
0 siblings, 1 reply; 2+ messages in thread
From: lester magtagad @ 2018-05-25 3:37 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 727 bytes --]
Hello everyone,
I am new to DRM and linux, I started reading developers guide and research
on my own.
I don't know where to start on how to communicate the DP helper functions
(drm_dp_dpcd_read, drm_dp_dpcd_readb, drm_dp_dpcd_write,
drm_dp_dpcd_writeb),
what will I include(#include<sample.h>) in my main program. I already have
drm in my setup(kernel version:4.4.21-69), I also have libdrm-2.4.92 API ,
the problem is I don't really have an idea on how use it.
My main objective is I want to read and write brightness/backlight level on
DP connections.
Is it possible to use only the libdrm api to import DP helper functions?if
yes how?
Maybe someone can help/guide me on this?
Appreciate your help.
Regards,
Lester
[-- Attachment #1.2: Type: text/html, Size: 17330 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: libdrm to read/write drm_dpcd helper functions.
2018-05-25 3:37 libdrm to read/write drm_dpcd helper functions lester magtagad
@ 2018-05-25 8:39 ` Jani Nikula
0 siblings, 0 replies; 2+ messages in thread
From: Jani Nikula @ 2018-05-25 8:39 UTC (permalink / raw)
To: lester magtagad, dri-devel; +Cc: John Sledge
On Fri, 25 May 2018, lester magtagad <lester.magtagad@gmail.com> wrote:
> Hello everyone,
>
> I am new to DRM and linux, I started reading developers guide and research
> on my own.
>
> I don't know where to start on how to communicate the DP helper functions
> (drm_dp_dpcd_read, drm_dp_dpcd_readb, drm_dp_dpcd_write,
> drm_dp_dpcd_writeb),
> what will I include(#include<sample.h>) in my main program. I already have
> drm in my setup(kernel version:4.4.21-69), I also have libdrm-2.4.92 API ,
> the problem is I don't really have an idea on how use it.
>
> My main objective is I want to read and write brightness/backlight level on
> DP connections.
>
> Is it possible to use only the libdrm api to import DP helper functions?if
> yes how?
>
> Maybe someone can help/guide me on this?
Where does the sudden interest with DPCD access from userspace come
from? See the thread [1]. My replies there should cover this.
I'm starting to wonder if this is an XY problem...
BR,
Jani.
[1] http://mid.mail-archive.com/471791572.2287221.1526561265798@mail.yahoo.com
--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-25 8:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-25 3:37 libdrm to read/write drm_dpcd helper functions lester magtagad
2018-05-25 8:39 ` Jani Nikula
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).