Bug 219758

Summary: [macOS] Only extend access to the RootDomainUserClient IOKit class if the GPU Process is not used
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, pvollan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Brent Fulgham 2020-12-10 14:53:16 PST
This IOKit class appears to only be used by media, and only on Apple Silicon. Dynamically extend access to this class for Apple Silicon builds if the GPU process is not being used.

This patch includes additional telemetry to confirm that it is not needed on Intel, and not for any other purposes.
Comment 1 Brent Fulgham 2020-12-10 14:53:28 PST
<rdar://problem/70464431>
Comment 2 Radar WebKit Bug Importer 2020-12-10 14:53:47 PST
<rdar://problem/72198404>
Comment 3 Brent Fulgham 2020-12-10 14:57:04 PST
Created attachment 415935 [details]
Patch
Comment 4 Per Arne Vollan 2020-12-11 00:41:21 PST
Comment on attachment 415935 [details]
Patch

R=me.
Comment 5 EWS 2020-12-11 09:33:21 PST
Committed r270682: <https://trac.webkit.org/changeset/270682>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 415935 [details].