mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
msm: vidc: Update ddr type macro values
Add new DDR type 5X and deprecate DDR type 4Y. Macro values also changed. CRs-Fixed: 2534324 Change-Id: I0412b4e624df9c377db18b635d2cde321fccf8d0 Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
This commit is contained in:
parent
b6bf411cd0
commit
41d01ed113
1 changed files with 3 additions and 4 deletions
|
|
@ -13,8 +13,8 @@
|
|||
|
||||
#define DDR_TYPE_LPDDR4 0x6
|
||||
#define DDR_TYPE_LPDDR4X 0x7
|
||||
#define DDR_TYPE_LPDDR4Y 0x8
|
||||
#define DDR_TYPE_LPDDR5 0x9
|
||||
#define DDR_TYPE_LPDDR5 0x8
|
||||
#define DDR_TYPE_LPDDR5X 0x9
|
||||
|
||||
#define CODEC_ENTRY(n, p, vsp, vpp, lp) \
|
||||
{ \
|
||||
|
|
@ -501,8 +501,7 @@ void *vidc_get_drv_data(struct device *dev)
|
|||
|
||||
if (driver_data->ubwc_config &&
|
||||
(ddr_type == DDR_TYPE_LPDDR4 ||
|
||||
ddr_type == DDR_TYPE_LPDDR4X ||
|
||||
ddr_type == DDR_TYPE_LPDDR4Y))
|
||||
ddr_type == DDR_TYPE_LPDDR4X))
|
||||
driver_data->ubwc_config->highest_bank_bit = 0xf;
|
||||
}
|
||||
exit:
|
||||
|
|
|
|||
Loading…
Reference in a new issue