Commit 3fb1224
committed
Reset HDR Pipeline When Hotplug
To ensure proper reset and reinitialization of the HDR (High Dynamic Range)
pipeline during hotplug events
(e.g., when a display connector is plugged or unplugged).
This prevents potential issues like stale HDR configurations persisting
across display changes.
The changes refactor EDID (Extended Display Identification Data) handling for
better modularity and add explicit HDR reset logic in the display
deinitialization and color mode switching paths. This improves reliability for
HDR-enabled displays during dynamic connector updates, such as in multi-monitor
setups or docking scenarios.
Test-done:
Verification was performed on a system with both SDR and HDR displays.
The displays were alternately hotplugged (inserted and removed) multiple
times to simulate dynamic scenarios.
Tracked-On: OAM-134602
Change-Id: I2615b85545cde7f4af73f295ab5861d63d04f855
Signed-off-by: Kanli Hu <kanli.hu@intel.com>1 parent 9f0e0e5 commit 3fb1224
File tree
5 files changed
+24
-13
lines changed- drm
- hwc2_device
5 files changed
+24
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
85 | 95 | | |
86 | 96 | | |
87 | 97 | | |
| |||
95 | 105 | | |
96 | 106 | | |
97 | 107 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 108 | + | |
105 | 109 | | |
106 | 110 | | |
107 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
253 | 254 | | |
254 | 255 | | |
255 | 256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
419 | 418 | | |
420 | 419 | | |
421 | 420 | | |
| |||
442 | 441 | | |
443 | 442 | | |
444 | 443 | | |
| 444 | + | |
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| |||
996 | 996 | | |
997 | 997 | | |
998 | 998 | | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
999 | 1007 | | |
1000 | 1008 | | |
1001 | 1009 | | |
| |||
1055 | 1063 | | |
1056 | 1064 | | |
1057 | 1065 | | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
| 1066 | + | |
1063 | 1067 | | |
1064 | 1068 | | |
1065 | 1069 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
258 | 259 | | |
259 | 260 | | |
260 | 261 | | |
| |||
0 commit comments