<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:10px;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:10px;"><div></div>
<div>Hi Jani,</div><div><br></div><div>I like to understand how the DRM_DP_AUX_CHARDEV=y kick off.</div><div><br></div><div>Regards,</div><div>John</div><div><br></div><div><br></div><div><br></div>
</div><div id="yahoo_quoted_9744777197" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Monday, June 11, 2018, 7:36:51 PM GMT+8, Jani Nikula <jani.nikula@linux.intel.com> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">On Mon, 11 Jun 2018, John Sledge <<a shape="rect" ymailto="mailto:john_sledget@yahoo.com" href="mailto:john_sledget@yahoo.com">john_sledget@yahoo.com</a>> wrote:<br clear="none">> Thanks for the help. I was able to manage your advice on the<br clear="none">> drm_dp_aux_chardev. Though I still need to learn more about the DRM vs<br clear="none">> kernel process flow. Like for example, upon changing/adding<br clear="none">> DRM_DP_AUX_CHARDEV in kernel .config, How did DRM_DP_AUX_CHARDEV was<br clear="none">> being invoke here? From the code, I notice character device will be<br clear="none">> created under drm_dp_aux_register_devnode method.<br clear="none">> For example I made two kernel 4.6 with DRM_DP_AUX_CHARDEV=y and<br clear="none">> another kernel 4.6 with DRM_DP_AUX_CHARDEV=n. <br clear="none">> So the steps was to build and install the kernel with<br clear="none">> DRM_DP_AUX_CHARDEV=y. Once finish, I tried to reboot and verified the<br clear="none">> /dev/drm_dp_aux_chardev* and it was there.<br clear="none">> Now, I will change the .config DRM_DP_AUXCHARDEV=n then follow the<br clear="none">> steps below to manual build the DRM module. I'm not really sure if I'm<br clear="none">> correct on this one.<br clear="none"><br clear="none">Why are you disabling it again? Just enable the config, use the<br clear="none">resulting kernel, and do the rest in userspace.<br clear="none"><br clear="none">> 1. rm /dev/drm_dp_aux_chardev* 2. make modules_prepare3. make<br clear="none">> SUBDIRS=scripts/mod4. make SUBDIRS=drivers/gpu/drm modules5. cp<br clear="none">> drivers/gpu/drm/i915/i915.ko<br clear="none">> /lib/modules/4.6.0-94.11-default/kernel/drivers/gpu/drm6. ... I copy<br clear="none">> all .ko under drm to the lib/modules/4.67. depmod8. modprobe<br clear="none">> i9159. ... I also modprobe all modules10. reboot<br clear="none">> The result was /dev/drm_dp_aux_chardev* was still there. My<br clear="none">> expectation was it would disrepair or remove.<br clear="none"><br clear="none">Don't do this. I don't understand what you're trying to do.<br clear="none"><br clear="none">> Please have comments and advice.<br clear="none"><br clear="none">Please explain what you're trying to do to begin with. What's your end<br clear="none">goal?<br clear="none"><br clear="none">BR,<br clear="none">Jani.<br clear="none"><br clear="none"><br clear="none">PS. Please prefer plain text instead of html on the list.<div class="yqt4797120083" id="yqtfd43505"><br clear="none"><br clear="none"><br clear="none">-- <br clear="none">Jani Nikula, Intel Open Source Graphics Center<br clear="none">_______________________________________________<br clear="none">dri-devel mailing list<br clear="none"><a shape="rect" ymailto="mailto:dri-devel@lists.freedesktop.org" href="mailto:dri-devel@lists.freedesktop.org">dri-devel@lists.freedesktop.org</a><br clear="none"><a shape="rect" href="https://lists.freedesktop.org/mailman/listinfo/dri-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/dri-devel</a><br clear="none"></div></div></div>
</div>
</div></div></body></html>