<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/drivers/gpu/drm, branch gpu-paging</title>
<subtitle>NVIDIA's kernel modules to support tegra chips (used in Jetson boards)</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/'/>
<entry>
<title>tegra-udrm : Fix kmem leak</title>
<updated>2021-04-01T00:28:21+00:00</updated>
<author>
<name>jbajaj</name>
<email>jbajaj@nvidia.com</email>
</author>
<published>2021-03-25T14:19:00+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=e49d334c595991f81fc2a6740d9f428026b07c3d'/>
<id>e49d334c595991f81fc2a6740d9f428026b07c3d</id>
<content type='text'>
release reference to eventfd context

Bug 200708315
Bug 200707615

Change-Id: I9fed2be75a73589916a38636cd001ec5f46a6fd3
Signed-off-by: Jay Bajaj &lt;jbajaj@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2505524
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: svcacv &lt;svcacv@nvidia.com&gt;
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Youngjin Kim &lt;nkim@nvidia.com&gt;
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
release reference to eventfd context

Bug 200708315
Bug 200707615

Change-Id: I9fed2be75a73589916a38636cd001ec5f46a6fd3
Signed-off-by: Jay Bajaj &lt;jbajaj@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2505524
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: svcacv &lt;svcacv@nvidia.com&gt;
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Youngjin Kim &lt;nkim@nvidia.com&gt;
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
</pre>
</div>
</content>
</entry>
<entry>
<title>drm: tegra-drm: add tegra_udrm_postclose</title>
<updated>2020-12-16T17:09:19+00:00</updated>
<author>
<name>Alvin Park</name>
<email>apark@nvidia.com</email>
</author>
<published>2020-12-15T06:26:16+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=39339c9f60b629c1f9cecad48a84385d67ec3309'/>
<id>39339c9f60b629c1f9cecad48a84385d67ec3309</id>
<content type='text'>
To free file-&gt;driver_priv which was allocated by tegra_udrm_open,
added tegra_udrm_postclose.

Bug 3197534

Change-Id: I88608aa50d7fb73a6ed699ac4deef7b87e169de9
Signed-off-by: Alvin Park &lt;apark@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2459899
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: Hardik T Shah &lt;hardikts@nvidia.com&gt;
Reviewed-by: Jay Kumar Bajaj &lt;jbajaj@nvidia.com&gt;
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To free file-&gt;driver_priv which was allocated by tegra_udrm_open,
added tegra_udrm_postclose.

Bug 3197534

Change-Id: I88608aa50d7fb73a6ed699ac4deef7b87e169de9
Signed-off-by: Alvin Park &lt;apark@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2459899
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: Hardik T Shah &lt;hardikts@nvidia.com&gt;
Reviewed-by: Jay Kumar Bajaj &lt;jbajaj@nvidia.com&gt;
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
</pre>
</div>
</content>
</entry>
<entry>
<title>drm: tegra_udrm: release eventfd context after signalling userspace</title>
<updated>2020-11-18T15:39:04+00:00</updated>
<author>
<name>Ole Bjørn Midtbø</name>
<email>omidtbo@cisco.com</email>
</author>
<published>2020-08-11T08:44:37+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=1af9456216a98e6f931ab4f441e67eacce6a970c'/>
<id>1af9456216a98e6f931ab4f441e67eacce6a970c</id>
<content type='text'>
Fix crash due to use-after-free.

[   72.483066] BUG: spinlock bad magic on CPU#4, video/1371
[   72.488377]  lock: 0xffffffc19b43bc88, .magic: ffffffc1, .owner:
/-541618416, .owner_cpu: 384
[   72.496886] CPU: 4 PID: 1371 Comm: video Tainted: G           O
4.9.241+ #24
[   72.504180] Hardware name: barents (DT)
[   72.508008] Call trace:
[   72.510453] [&lt;ffffff800808aca8&gt;] dump_backtrace+0x0/0x1c8
[   72.515842] [&lt;ffffff800808ae94&gt;] show_stack+0x24/0x30
[   72.520885] [&lt;ffffff80084ee1d8&gt;] dump_stack+0xc4/0xfc
[   72.525928] [&lt;ffffff80081dde0c&gt;] spin_dump+0x94/0xa4
[   72.530883] [&lt;ffffff80081234f8&gt;] do_raw_spin_lock+0xc8/0x108
[   72.536532] [&lt;ffffff8008efb37c&gt;] _raw_spin_lock_irqsave+0x5c/0x70
[   72.542613] [&lt;ffffff80082d9cc0&gt;] eventfd_signal+0x30/0x90
[   72.548001] [&lt;ffffff80088738cc&gt;] tegra_udrm_preclose+0x94/0xd8
[   72.553822] [&lt;ffffff800884fc58&gt;] drm_release+0xa0/0x2f0
[   72.559037] [&lt;ffffff8008278398&gt;] __fput+0xb0/0x230
[   72.563817] [&lt;ffffff8008278590&gt;] ____fput+0x20/0x30
[   72.568686] [&lt;ffffff80080d3358&gt;] task_work_run+0xd0/0x100
[   72.574074] [&lt;ffffff80080b083c&gt;] do_exit+0x384/0xbb8
[   72.579027] [&lt;ffffff80080b10fc&gt;] do_group_exit+0x3c/0xa0
[   72.584328] [&lt;ffffff80080c0488&gt;] get_signal+0x128/0xba8
[   72.589542] [&lt;ffffff800808a138&gt;] do_signal+0x80/0x1c0
[   72.594583] [&lt;ffffff800808a410&gt;] do_notify_resume+0xa8/0xc0
[   72.600143] [&lt;ffffff8008083258&gt;] work_pending+0x8/0x14

Bug 3174256

Change-Id: If502fc3035f53a5ad776acf1dbc7c21046a41b2a
Signed-off-by: Ken Chang &lt;kenc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2444208
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix crash due to use-after-free.

[   72.483066] BUG: spinlock bad magic on CPU#4, video/1371
[   72.488377]  lock: 0xffffffc19b43bc88, .magic: ffffffc1, .owner:
/-541618416, .owner_cpu: 384
[   72.496886] CPU: 4 PID: 1371 Comm: video Tainted: G           O
4.9.241+ #24
[   72.504180] Hardware name: barents (DT)
[   72.508008] Call trace:
[   72.510453] [&lt;ffffff800808aca8&gt;] dump_backtrace+0x0/0x1c8
[   72.515842] [&lt;ffffff800808ae94&gt;] show_stack+0x24/0x30
[   72.520885] [&lt;ffffff80084ee1d8&gt;] dump_stack+0xc4/0xfc
[   72.525928] [&lt;ffffff80081dde0c&gt;] spin_dump+0x94/0xa4
[   72.530883] [&lt;ffffff80081234f8&gt;] do_raw_spin_lock+0xc8/0x108
[   72.536532] [&lt;ffffff8008efb37c&gt;] _raw_spin_lock_irqsave+0x5c/0x70
[   72.542613] [&lt;ffffff80082d9cc0&gt;] eventfd_signal+0x30/0x90
[   72.548001] [&lt;ffffff80088738cc&gt;] tegra_udrm_preclose+0x94/0xd8
[   72.553822] [&lt;ffffff800884fc58&gt;] drm_release+0xa0/0x2f0
[   72.559037] [&lt;ffffff8008278398&gt;] __fput+0xb0/0x230
[   72.563817] [&lt;ffffff8008278590&gt;] ____fput+0x20/0x30
[   72.568686] [&lt;ffffff80080d3358&gt;] task_work_run+0xd0/0x100
[   72.574074] [&lt;ffffff80080b083c&gt;] do_exit+0x384/0xbb8
[   72.579027] [&lt;ffffff80080b10fc&gt;] do_group_exit+0x3c/0xa0
[   72.584328] [&lt;ffffff80080c0488&gt;] get_signal+0x128/0xba8
[   72.589542] [&lt;ffffff800808a138&gt;] do_signal+0x80/0x1c0
[   72.594583] [&lt;ffffff800808a410&gt;] do_notify_resume+0xa8/0xc0
[   72.600143] [&lt;ffffff8008083258&gt;] work_pending+0x8/0x14

Bug 3174256

Change-Id: If502fc3035f53a5ad776acf1dbc7c21046a41b2a
Signed-off-by: Ken Chang &lt;kenc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2444208
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
</pre>
</div>
</content>
</entry>
<entry>
<title>tegra_udrm: add SEND_CONNECTOR_STATUS_EVENT ioctl</title>
<updated>2019-12-23T23:38:41+00:00</updated>
<author>
<name>Yogish Kulkarni</name>
<email>yogishk@nvidia.com</email>
</author>
<published>2019-12-20T07:25:44+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=cda3f78dc40d0f21b1108a4087b6198fb53bde02'/>
<id>cda3f78dc40d0f21b1108a4087b6198fb53bde02</id>
<content type='text'>
Add DRM_TEGRA_UDRM_SEND_CONNECTOR_STATUS_EVENT ioctl to generate
a uevent for connector status property change. user space calls
this ioctl with connector id and  property id related to the
status change.

Bug 200577678

Change-Id: I079a7ebbc2c11ad6e6c7003df6eab57817161e26
Signed-off-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2266101
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Kiran K &lt;skirank@nvidia.com&gt;
Tested-by: Sai Kiran K &lt;skirank@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add DRM_TEGRA_UDRM_SEND_CONNECTOR_STATUS_EVENT ioctl to generate
a uevent for connector status property change. user space calls
this ioctl with connector id and  property id related to the
status change.

Bug 200577678

Change-Id: I079a7ebbc2c11ad6e6c7003df6eab57817161e26
Signed-off-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2266101
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Kiran K &lt;skirank@nvidia.com&gt;
Tested-by: Sai Kiran K &lt;skirank@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>DRM: tegra_udrm: support dual hdmi hotplug</title>
<updated>2019-10-22T20:40:18+00:00</updated>
<author>
<name>Jeremy Ho</name>
<email>jeremyh@nvidia.com</email>
</author>
<published>2019-10-01T13:27:13+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=aa2b199a23e452ee8fec5d418e04973275083339'/>
<id>aa2b199a23e452ee8fec5d418e04973275083339</id>
<content type='text'>
Bug 200549422

Change-Id: I0c073509e097db6de8706fb59bd67ec2e92fe4d4
Signed-off-by: Jeremy Ho &lt;jeremyh@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2209472
Reviewed-by: Ken Chang &lt;kenc@nvidia.com&gt;
Reviewed-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
Reviewed-by: Naveen Kumar S &lt;nkumars@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug 200549422

Change-Id: I0c073509e097db6de8706fb59bd67ec2e92fe4d4
Signed-off-by: Jeremy Ho &lt;jeremyh@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2209472
Reviewed-by: Ken Chang &lt;kenc@nvidia.com&gt;
Reviewed-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
Reviewed-by: Naveen Kumar S &lt;nkumars@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>DRM: tegra_udrm: support DSI hotplug</title>
<updated>2019-09-23T16:26:07+00:00</updated>
<author>
<name>Ken Chang</name>
<email>kenc@nvidia.com</email>
</author>
<published>2019-09-06T03:17:29+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=6cb8bebc6358148190d1f12b4ff41160310f2eef'/>
<id>6cb8bebc6358148190d1f12b4ff41160310f2eef</id>
<content type='text'>
Send DRM HOTPLUG uevent for disp_extcon DSI, which has
cable id EXTCON_DISP_DSIHPD, connection state.

Bug 200547709

Change-Id: If118aa6a5fdbb362912b58d3c6f6be608815d46a
Signed-off-by: Ken Chang &lt;kenc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2191397
Reviewed-by: Shu Zhong &lt;shuz@nvidia.com&gt;
Reviewed-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
Reviewed-by: Naveen Kumar S &lt;nkumars@nvidia.com&gt;
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Santosh Galma &lt;galmar@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Send DRM HOTPLUG uevent for disp_extcon DSI, which has
cable id EXTCON_DISP_DSIHPD, connection state.

Bug 200547709

Change-Id: If118aa6a5fdbb362912b58d3c6f6be608815d46a
Signed-off-by: Ken Chang &lt;kenc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2191397
Reviewed-by: Shu Zhong &lt;shuz@nvidia.com&gt;
Reviewed-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
Reviewed-by: Naveen Kumar S &lt;nkumars@nvidia.com&gt;
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Santosh Galma &lt;galmar@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>DRM: tegra_udrm: correct error checking</title>
<updated>2019-08-23T11:41:41+00:00</updated>
<author>
<name>Yogish Kulkarni</name>
<email>yogishk@nvidia.com</email>
</author>
<published>2019-08-14T06:44:31+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=cf0f63690603a709ef75bea6ebb439cd8b7f15c6'/>
<id>cf0f63690603a709ef75bea6ebb439cd8b7f15c6</id>
<content type='text'>
devm_extcon_register_notifier() returns 0 if success or negaive
error number if failure.

extcon_get_extcon_dev() returns the pointer of extcon device if
success. It returns NULL or ERR_PTR(err) on failure.

disp-state device name on older platforms is "extcon:disp-state",
so try that if "external-connection:disp-state" fails.

Bug 200515973

Change-Id: Ic05e52e63513cd4c556300856bccc3e1db81934e
Signed-off-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2175018
(cherry picked from commit 6637d613b8502e9faa2c57b7b15a4419b42ca8f6)
Reviewed-on: https://git-master.nvidia.com/r/2176788
Reviewed-by: Ujwal Patel &lt;ujwalp@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
devm_extcon_register_notifier() returns 0 if success or negaive
error number if failure.

extcon_get_extcon_dev() returns the pointer of extcon device if
success. It returns NULL or ERR_PTR(err) on failure.

disp-state device name on older platforms is "extcon:disp-state",
so try that if "external-connection:disp-state" fails.

Bug 200515973

Change-Id: Ic05e52e63513cd4c556300856bccc3e1db81934e
Signed-off-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2175018
(cherry picked from commit 6637d613b8502e9faa2c57b7b15a4419b42ca8f6)
Reviewed-on: https://git-master.nvidia.com/r/2176788
Reviewed-by: Ujwal Patel &lt;ujwalp@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>DRM: tegra_udrm: Send HOTPLUG uevent</title>
<updated>2019-07-05T08:57:42+00:00</updated>
<author>
<name>Yogish Kulkarni</name>
<email>yogishk@nvidia.com</email>
</author>
<published>2019-06-24T12:33:30+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=f6c30cf3c2c71b0b0ba0830ce0ac947992305dd5'/>
<id>f6c30cf3c2c71b0b0ba0830ce0ac947992305dd5</id>
<content type='text'>
Listen for HDMI and DP cable state change events on extcon device
"external-connection:disp-state". Upon cable state change event,
generate DRM HOTPLUG uevent.

Bug 200515973

Change-Id: If0eb1212a409a7846ea42ca04ead32ef65da3aa8
Reviewed-on: https://git-master.nvidia.com/r/2142400
(cherry picked from commit 948799eb5d912cd71b403bb1c1466ca178c770ea)
Signed-off-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2148040
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ujwal Patel &lt;ujwalp@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Listen for HDMI and DP cable state change events on extcon device
"external-connection:disp-state". Upon cable state change event,
generate DRM HOTPLUG uevent.

Bug 200515973

Change-Id: If0eb1212a409a7846ea42ca04ead32ef65da3aa8
Reviewed-on: https://git-master.nvidia.com/r/2142400
(cherry picked from commit 948799eb5d912cd71b403bb1c1466ca178c770ea)
Signed-off-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2148040
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ujwal Patel &lt;ujwalp@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>DRM: tegra_udrm: Notify userspace about set master</title>
<updated>2019-02-06T13:53:09+00:00</updated>
<author>
<name>Yogish Kulkarni</name>
<email>yogishk@nvidia.com</email>
</author>
<published>2019-01-29T14:34:11+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=6b797b48538da3c42aa5da374f89fbb318e2c698'/>
<id>6b797b48538da3c42aa5da374f89fbb318e2c698</id>
<content type='text'>
Add DRM_TEGRA_UDRM_SET_MASTER_NOTIFY ioctl. In this ioctl acquire
reference to the internal eventfd context associated with eventfd
passed by user space. Signal this eventfd from driver's master_set
method.

Bug 200479257
Bug 200473544
Bug 2158091

Change-Id: I3b3518a5f33e948e5fafb829768692a0c8379fba
Reviewed-on: https://git-master.nvidia.com/r/#/c/2006490/
Signed-off-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
(cherry picked from commit 22603e26d309d694184deeccb52ca52326b4d7bd)
Reviewed-on: https://git-master.nvidia.com/r/2012016
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add DRM_TEGRA_UDRM_SET_MASTER_NOTIFY ioctl. In this ioctl acquire
reference to the internal eventfd context associated with eventfd
passed by user space. Signal this eventfd from driver's master_set
method.

Bug 200479257
Bug 200473544
Bug 2158091

Change-Id: I3b3518a5f33e948e5fafb829768692a0c8379fba
Reviewed-on: https://git-master.nvidia.com/r/#/c/2006490/
Signed-off-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
(cherry picked from commit 22603e26d309d694184deeccb52ca52326b4d7bd)
Reviewed-on: https://git-master.nvidia.com/r/2012016
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>DRM: tegra_udrm: Don't set DRM_AUTH flag</title>
<updated>2019-02-04T18:06:41+00:00</updated>
<author>
<name>Yogish Kulkarni</name>
<email>yogishk@nvidia.com</email>
</author>
<published>2019-01-30T12:06:59+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=74acd98f2c3c3abce944674adcc12517447233d6'/>
<id>74acd98f2c3c3abce944674adcc12517447233d6</id>
<content type='text'>
After login to Ubuntu Wayland desktop, if user tries to launch
application which opens DRM device and calls e.g drmGetVersion
it fails as drmGetVersion call handling in UMD will create drm_nvdc
context and starts a thread to listen for close, set/drop master
notifications from driver. It uses tegra_udrm_close_notify_ioctl
and tegra_udrm_drop_master_notify_ioctl to register for
notifications from KMD. So if DRM_AUTH is set for those ioctls
they might fail if there is existing master, so don't set DRM_AUTH
on those ioctls.
None of the tegra_udrm ioctls are modifying KMS state so DRM_AUTH
is not required anyway.

Bug 200489906
Bug 2158091

Change-Id: I94ea328f43bae544e3ade7967a293351d036901a
Signed-off-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2007459
(cherry picked from commit 1f64b4a583b3ac2df07102a602e369eca814c247)
Reviewed-on: https://git-master.nvidia.com/r/2009523
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After login to Ubuntu Wayland desktop, if user tries to launch
application which opens DRM device and calls e.g drmGetVersion
it fails as drmGetVersion call handling in UMD will create drm_nvdc
context and starts a thread to listen for close, set/drop master
notifications from driver. It uses tegra_udrm_close_notify_ioctl
and tegra_udrm_drop_master_notify_ioctl to register for
notifications from KMD. So if DRM_AUTH is set for those ioctls
they might fail if there is existing master, so don't set DRM_AUTH
on those ioctls.
None of the tegra_udrm ioctls are modifying KMS state so DRM_AUTH
is not required anyway.

Bug 200489906
Bug 2158091

Change-Id: I94ea328f43bae544e3ade7967a293351d036901a
Signed-off-by: Yogish Kulkarni &lt;yogishk@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2007459
(cherry picked from commit 1f64b4a583b3ac2df07102a602e369eca814c247)
Reviewed-on: https://git-master.nvidia.com/r/2009523
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
