[PATCH v6 01/26] drm/gpuvm: Pass map arguments through a struct
Ghimiray, Himal Prasad
himal.prasad.ghimiray at intel.com
Tue Aug 12 17:55:05 UTC 2025
On 12-08-2025 22:21, Danilo Krummrich wrote:
> On Thu Aug 7, 2025 at 6:43 PM CEST, Himal Prasad Ghimiray wrote:
>> @@ -2102,17 +2106,16 @@ op_unmap_cb(const struct drm_gpuvm_ops *fn, void *priv,
>> static int
>> __drm_gpuvm_sm_map(struct drm_gpuvm *gpuvm,
>> const struct drm_gpuvm_ops *ops, void *priv,
>> - u64 req_addr, u64 req_range,
>> - struct drm_gem_object *req_obj, u64 req_offset)
>> + const struct drm_gpuvm_map_req *req)
>> {
>> struct drm_gpuva *va, *next;
>> - u64 req_end = req_addr + req_range;
>> + u64 req_end = req->op_map.va.addr + req->op_map.va.range;
>
> Forgot to add, please extract all previous values from req, such that the below
> diff is minimal and the code remiains easier to read..
Noted.
More information about the dri-devel
mailing list