Bug 219758 - [macOS] Only extend access to the RootDomainUserClient IOKit class if the GPU Process is not used
Summary: [macOS] Only extend access to the RootDomainUserClient IOKit class if the GPU...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-12-10 14:53 PST by Brent Fulgham
Modified: 2020-12-11 09:33 PST (History)
3 users (show)

See Also:


Attachments
Patch (3.01 KB, patch)
2020-12-10 14:57 PST, Brent Fulgham
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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].