OSDN Git Service

habanalabs: update DRAM props according to preboot data
authorOhad Sharabi <osharabi@habana.ai>
Sun, 27 Nov 2022 10:46:23 +0000 (12:46 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Thu, 26 Jan 2023 08:56:20 +0000 (10:56 +0200)
commit6d62d4402fec005f02f611510d096ee472b50ecb
treede2f420562f1f8a4d7136ded100eb3979d70c103
parent8364fb3cdd03d8c3ee5c1074eba0028a6ea7acfd
habanalabs: update DRAM props according to preboot data

If the f/w reports the binning masks at the preboot stage, the driver
must align its DRAM properties according to the new information.

Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/firmware_if.c