Commit 5d0f38d
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: I288792da7bdd93d2de1530e2f7e749a73bac9005
Signed-off-by: Kanli Hu <kanli.hu@intel.com>1 parent 728c296 commit 5d0f38d
File tree
4 files changed
+23
-13
lines changed- drm
- hwc2_device
4 files changed
+23
-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 | | |
| |||
991 | 991 | | |
992 | 992 | | |
993 | 993 | | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
994 | 1002 | | |
995 | 1003 | | |
996 | 1004 | | |
| |||
1050 | 1058 | | |
1051 | 1059 | | |
1052 | 1060 | | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
| 1061 | + | |
1058 | 1062 | | |
1059 | 1063 | | |
1060 | 1064 | | |
| |||
0 commit comments