aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects
diff options
context:
space:
mode:
authorAlexander Goncharov <chat@joursoir.net>2022-06-23 12:17:42 +0300
committerAnastasia Klimchuk <aklm@chromium.org>2022-07-08 00:18:53 +0000
commit65159ea93997da065b2f8867532a6a54bf7f58f1 (patch)
tree6d4be3a07bc9968933e14e125146fe12498c6923 /subprojects
parent4a99159afe74cc1e05d6fa9f52d6dc8418e78104 (diff)
downloadflashrom-65159ea93997da065b2f8867532a6a54bf7f58f1.tar.gz
flashrom-65159ea93997da065b2f8867532a6a54bf7f58f1.tar.bz2
flashrom-65159ea93997da065b2f8867532a6a54bf7f58f1.zip
gfxnvidia: Refactor singleton states into reentrant pattern
Move global singleton states into a struct and store within the par_master data field for the life-time of the driver. This is one of the steps on the way to move par_master data memory management behind the initialisation API, for more context see other patches under the same topic "register_master_api". BUG=b:185191942 TEST=builds Change-Id: I00877e3cc359996e3aa59649f62c76e521ab119b Signed-off-by: Alexander Goncharov <chat@joursoir.net> Ticket: https://ticket.coreboot.org/issues/391 Reviewed-on: https://review.coreboot.org/c/flashrom/+/65342 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Thomas Heijligen <src@posteo.de>
Diffstat (limited to 'subprojects')
0 files changed, 0 insertions, 0 deletions