Commit d8ddda9a6914c0c70f89c51b26e2101f43aed055

Authored by Liu Ying
Committed by Jason Liu
1 parent 00bf8b5eea

MLK-21407 gpu: imx: dpu: tcon: Assign tcon id

We should assign dedicated id for every tcon instance.
This makes us be able to figure out bewteen master and
slave tcon.  Only side-by-side display mode is likely
impacted.  Based on tests, no functional change is
observed before or after this patch is applied.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
(cherry picked from commit e181d9e56b096bbdc919f65b223d1bde413df1bb)

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/gpu/imx/dpu/dpu-tcon.c
... ... @@ -324,6 +324,7 @@
324 324 return -ENOMEM;
325 325  
326 326 tcon->dpu = dpu;
  327 + tcon->id = id;
327 328 mutex_init(&tcon->mutex);
328 329  
329 330 return 0;