mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
Merge "msm: kgsl: Stay in bounds when setting up legacy HFI queues"
This commit is contained in:
commit
8782ab8eed
1 changed files with 3 additions and 2 deletions
|
|
@ -176,12 +176,12 @@ static void init_queues(struct adreno_device *adreno_dev)
|
|||
/*
|
||||
* Overwrite the queue IDs for A630, A615 and A616 as they use
|
||||
* legacy firmware. Legacy firmware has different queue IDs for
|
||||
* message, debug and dispatch queues.
|
||||
* message, debug and dispatch queues (dispatch queues aren't used
|
||||
* on these targets so the queue idx value update is not needed).
|
||||
*/
|
||||
if (adreno_is_a630(adreno_dev) || adreno_is_a615_family(adreno_dev)) {
|
||||
queue[HFI_MSG_ID].idx = HFI_MSG_IDX_LEGACY;
|
||||
queue[HFI_DBG_ID].idx = HFI_DBG_IDX_LEGACY;
|
||||
queue[HFI_DSP_ID_0].idx = HFI_DSP_IDX_0_LEGACY;
|
||||
}
|
||||
|
||||
/* Fill Table Header */
|
||||
|
|
@ -469,6 +469,7 @@ static int a6xx_hfi_send_test(struct adreno_device *adreno_dev)
|
|||
struct hfi_test_cmd cmd;
|
||||
|
||||
CMD_MSG_HDR(cmd, H2F_MSG_TEST);
|
||||
cmd.data = 0;
|
||||
|
||||
return a6xx_hfi_send_generic_req(adreno_dev, &cmd);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue