DRM inquiry to Backported drm kernel modules

2018-08-07 Thread John Sledge
Hi all, The main goal is to have the SLES12 SP3 kernel version 4.4.140-94.42.1 the fix it needed for Kabylake graphics issue and also enable the dp aux character device CONFIG_DRM_DP_AUX_CHARDEV=y. I like to inquiry if there's a way or how to proceed with this correctly. My question is I have a I

Re: RE: [Intel-gfx] DRM Inquiry

2018-06-13 Thread John Sledge
Hi Jani, The end goal was already achieve by the advice you gave the DRM_DP_AUX_CHARDEV.I just like to extend my knowledge into DRM such as a scenario having a kernel version that doesn't have the DRM_DP_AUX_CHARDEV yet. Would it possible to implement specific DRM_DP_AUX_CHARDEV to it. Thanks,J

Re: RE: [Intel-gfx] DRM Inquiry

2018-06-13 Thread Jani Nikula
On Wed, 13 Jun 2018, John Sledge wrote: > I like to understand how the DRM_DP_AUX_CHARDEV=y kick off. Try 'git grep DRM_DP_AUX_CHARDEV' in your kernel git repo, and see how it affects conditional compilation. This list isn't kernel development 101. You still didn't say what your end goal is. Fo

Re: RE: [Intel-gfx] DRM Inquiry

2018-06-12 Thread John Sledge
Hi Jani, I like to understand how the DRM_DP_AUX_CHARDEV=y kick off. Regards,John On Monday, June 11, 2018, 7:36:51 PM GMT+8, Jani Nikula wrote: On Mon, 11 Jun 2018, John Sledge wrote: > Thanks for the help. I was able to manage your advice on the > drm_dp_aux_chardev. Though I still

Re: RE: [Intel-gfx] DRM Inquiry

2018-06-11 Thread Jani Nikula
On Mon, 11 Jun 2018, John Sledge wrote: > Thanks for the help. I was able to manage your advice on the > drm_dp_aux_chardev. Though I still need to learn more about the DRM vs > kernel process flow. Like for example, upon changing/adding > DRM_DP_AUX_CHARDEV in kernel .config, How did DRM_DP_AUX_C

Re: RE: [Intel-gfx] DRM Inquiry

2018-06-11 Thread John Sledge
Hi Jani, Thanks for the help. I was able to manage your advice on the drm_dp_aux_chardev. Though I still need to learn more about the DRM vs kernel process flow. Like for example, upon changing/adding DRM_DP_AUX_CHARDEV in kernel .config, How did DRM_DP_AUX_CHARDEV was being invoke here? From t

RE: [Intel-gfx] DRM Inquiry

2018-05-25 Thread Jani Nikula
On Fri, 25 May 2018, "Taylor, Clinton A" wrote: > Looks like the seek=%d in the sprintf is not working. Yeah. Try skip=%d instead. BR, Jani. -- Jani Nikula, Intel Open Source Graphics Center ___ dri-devel mailing list dri-devel@lists.freedesktop.org

RE: [Intel-gfx] DRM Inquiry

2018-05-25 Thread Taylor, Clinton A
: Friday, May 25, 2018 1:11 AM To: dri-devel@lists.freedesktop.org; Jani Nikula Cc: intel-...@lists.freedesktop.org Subject: Re: [Intel-gfx] DRM Inquiry Hi Jani, I seek 0-800 and here's what I get, all 11 0A in hex. Not sure if this is the brightness value of the display. I also did a test, w

Re: DRM Inquiry

2018-05-25 Thread Jani Nikula
On Fri, 25 May 2018, John Sledge wrote: > Hi Jani, > I seek 0-800 and here's what I get, all 11 0A in hex. Not sure if this is the > brightness value of the display. I also did a test, when I disconnect the DP > to the display and execute the dd commands, it would say error reading > 'dev/drm_

Re: DRM Inquiry

2018-05-25 Thread John Sledge
Hi Jani, I seek 0-800 and here's what I get, all 11 0A in hex. Not sure if this is the brightness value of the display. I also did a test, when I disconnect the DP to the display and execute the dd commands, it would say error reading 'dev/drm_dp_aux1': Connection timed out. So I think my displ

Re: DRM Inquiry

2018-05-24 Thread Jani Nikula
On Fri, 25 May 2018, John Sledge wrote: > Hi Jani, > I can now see /dev/drm_dp_aux*. > I'm not familiar with dd command.Correct me if I'm wrong. > Possible commands i tried and nothing happen:dd if=/dev/drm_dp_aux1 seek=723 > ibs=2dd of=/dev/drm_dp_aux1 seek=723 ibs=2 > dd if=/dev/drm_dp_aux2 se

Re: DRM Inquiry

2018-05-24 Thread John Sledge
Hi Jani, I can now see /dev/drm_dp_aux*. I'm not familiar with dd command.Correct me if I'm wrong. Possible commands i tried and nothing happen:dd if=/dev/drm_dp_aux1 seek=723 ibs=2dd of=/dev/drm_dp_aux1 seek=723 ibs=2 dd if=/dev/drm_dp_aux2 seek=723 ibs=2dd of=/dev/drm_dp_aux2 seek=723 ibs=2 I a

Re: DRM Inquiry

2018-05-24 Thread Jani Nikula
On Thu, 24 May 2018, John Sledge wrote: > I was able to update my kernel to 4.6 which has the DRM_DP_AUX_CHARDEV > in the Kconfig file linux-4.6\drivers\gpu\drm. Though I also > add DRM_DP_AUX_CHARDEV=y in  kernel config. When invoke uname -r, I > could see that the kernel is now 4.6. If you're u

Re: DRM Inquiry

2018-05-24 Thread John Sledge
Hi Jani, I was able to update my kernel to 4.6 which has the DRM_DP_AUX_CHARDEV in the  Kconfig file linux-4.6\drivers\gpu\drm. Though I also add DRM_DP_AUX_CHARDEV=y in  kernel config. When invoke uname -r, I could see that the kernel is now 4.6. How can I verify the DRM_DP_AUX_CHARDEV takes eff

Re: DRM Inquiry

2018-05-23 Thread John Sledge
Hi Jani, Good day! Thank you for taking the time to point out those information. It’s a great help to me. Also apologies for the late reply, your first reply went to my spam inbox, not sure what happen and I was waiting for replies for days. I'm still new to Linux and to DRM. I also need to inve

Re: DRM Inquiry DPCD

2018-05-22 Thread Jani Nikula
On Wed, 23 May 2018, John Sledge wrote: > Do you have any suggestions or advice how to use the kernel driver in > DRM in regards to how to implement the method drm_dp_dpcd_readb for > example? Sincerely, my suggestion is to respond and be active when people take the time to look into your problem

DRM Inquiry DPCD

2018-05-22 Thread John Sledge
Hi , I’ve been doing some PTN3460 programming under Linux and I have some questions regarding on setting the brightness level via DisplayPort Native Aux. The display device with PTN3460 is connected in DP (display port) to my computer. I’m currently looking into the DRM (Direct Rendering Manager

Re: DRM Inquiry

2018-05-18 Thread Jani Nikula
On Thu, 17 May 2018, John Sledge wrote: > I’ve been doing some PTN3460 programming under Linux using C/C++ and I > have some questions regarding on setting the brightness level to my > display device. > > The display device with PTN3460 is connected in DP (display port) to > my computer. Only need

DRM Inquiry

2018-05-18 Thread John Sledge
Hi All, Good day! I’ve been doing some PTN3460 programming under Linux using C/C++ and I have some questions regarding on setting the brightness level to my display device. The display device with PTN3460 is connected in DP (display port) to my computer. Only needs a DisplayPort native AUX comman