drm/msm/adreno: Remove redundant gmem size param
authorRob Clark <robdclark@chromium.org>
Thu, 27 Jul 2023 21:20:07 +0000 (14:20 -0700)
committerRob Clark <robdclark@chromium.org>
Mon, 7 Aug 2023 21:19:15 +0000 (14:19 -0700)
commit6391030df06276ab9bdd1ee306787796974b64b3
tree177068f91eb7e36a739aec1dc46fa33a789bd19a
parent832ee64debddc07cc8062462825f5dfb618504ae
drm/msm/adreno: Remove redundant gmem size param

Even in the ocmem case, the allocated ocmem buffer size should match the
requested size.

v2: Move stray hunk to previous patch, make OCMEM size mismatch an error
    condition.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/549759/
drivers/gpu/drm/msm/adreno/a2xx_gpu.c
drivers/gpu/drm/msm/adreno/a5xx_gpu.c
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.h