[PATCH] drm/msm/a6xx: request memory region

2024-06-08 Thread Kiarash Hajian
The driver's memory regions are currently just ioremap()ed, but not reserved through a request. That's not a bug, but having the request is a little more robust. Implement the region-request through the corresponding managed devres-function. Signed-off-by: Kiarash Hajian --- Cha

[PATCH] drm/msm/a6xx: request memory region

2024-06-07 Thread Kiarash Hajian
The driver's memory regions are currently just ioremap()ed, but not reserved through a request. That's not a bug, but having the request is a little more robust. Implement the region-request through the corresponding managed devres-function. Signed-off-by: Kiarash Hajian --- To: Rob

[PATCH v4] drm/msm/a6xx: request memory region

2024-05-12 Thread Kiarash Hajian
The driver's memory regions are currently just ioremap()ed, but not reserved through a request. That's not a bug, but having the request is a little more robust. Implement the region-request through the corresponding managed devres-function. Signed-off-by: Kiarash Hajian --- Cha

[PATCH v3 1/2] drm/msm/a6xx: request memory region

2024-05-11 Thread Kiarash Hajian
The driver's memory regions are currently just ioremap()ed, but not reserved through a request. That's not a bug, but having the request is a little more robust. Implement the region-request through the corresponding managed devres-function. Signed-off-by: Kiarash Hajian --- drive

[PATCH v3 2/2] drm/msm/a6xx: request memory region

2024-05-11 Thread Kiarash Hajian
The devm_iounmap function is being used unnecessarily, managed resource mechanisms (devres) are handling resource cleanup automatically This commit removes the calls to devm_iounmap and relies on devres Signed-off-by: Kiarash Hajian --- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 18

[PATCH v3 0/2] drm/msm/a6xx: request memory region

2024-05-11 Thread Kiarash Hajian
Signed-off-by: Kiarash Hajian --- Changes in v3: - Remove redundant devm_iounmap calls, relying on devres for automatic resource cleanup. Changes in v2: - update the subject prefix to "drm/msm/a6xx:", to match the majority of other changes to this file. --- Kiarash Hajian (2):

[PATCH v2] drm/msm/a6xx: request memory region

2024-05-11 Thread Kiarash Hajian
The driver's memory regions are currently just ioremap()ed, but not reserved through a request. That's not a bug, but having the request is a little more robust. Implement the region-request through the corresponding managed devres-function. Signed-off-by: Kiarash Hajian --- Cha

[PATCH] drm/msm/adreno: request memory region

2024-05-11 Thread Kiarash Hajian
The driver's memory regions are currently just ioremap()ed, but not reserved through a request. That's not a bug, but having the request is a little more robust. Implement the region-request through the corresponding managed devres-function. Signed-off-by: Kiarash Hajian --- drive