Loading drivers/gpu/msm/adreno.h +1 −1 Original line number Diff line number Diff line Loading @@ -995,7 +995,7 @@ static inline void adreno_set_protected_registers(struct kgsl_device *device, /* There are only 16 registers available */ BUG_ON(*index >= 16); val = 0x60000000 | ((mask_len & 0x1F) << 24) | ((reg << 2) & 0xFFFF); val = 0x60000000 | ((mask_len & 0x1F) << 24) | ((reg << 2) & 0x1FFFF); /* * Write the protection range to the next available protection Loading drivers/gpu/msm/adreno_a3xx.c +3 −0 Original line number Diff line number Diff line Loading @@ -2030,6 +2030,9 @@ static void a3xx_protect_init(struct kgsl_device *device) /* VBIF registers */ adreno_set_protected_registers(device, &index, 0x3000, 6); /* SMMU registers */ adreno_set_protected_registers(device, &index, 0x4000, 14); } static void a3xx_start(struct adreno_device *adreno_dev) Loading Loading
drivers/gpu/msm/adreno.h +1 −1 Original line number Diff line number Diff line Loading @@ -995,7 +995,7 @@ static inline void adreno_set_protected_registers(struct kgsl_device *device, /* There are only 16 registers available */ BUG_ON(*index >= 16); val = 0x60000000 | ((mask_len & 0x1F) << 24) | ((reg << 2) & 0xFFFF); val = 0x60000000 | ((mask_len & 0x1F) << 24) | ((reg << 2) & 0x1FFFF); /* * Write the protection range to the next available protection Loading
drivers/gpu/msm/adreno_a3xx.c +3 −0 Original line number Diff line number Diff line Loading @@ -2030,6 +2030,9 @@ static void a3xx_protect_init(struct kgsl_device *device) /* VBIF registers */ adreno_set_protected_registers(device, &index, 0x3000, 6); /* SMMU registers */ adreno_set_protected_registers(device, &index, 0x4000, 14); } static void a3xx_start(struct adreno_device *adreno_dev) Loading