summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_probe_helper.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-07-28 14:17:36 +1000
committerDave Airlie <airlied@redhat.com>2020-07-29 10:06:38 +1000
commit5de5b6ecf97a021f29403aa272cb4e03318ef586 (patch)
tree7a31359ebf07c0d4ff0a2c047eacd9f87dadc1a9 /drivers/gpu/drm/drm_probe_helper.c
parentec731e516acf22ce870b735721c6f59e39d0ed44 (diff)
drm/ttm/nouveau: don't call tt destroy callback on alloc failure.
This is confusing, and from my reading of all the drivers only nouveau got this right. Just make the API act under driver control of it's own allocation failing, and don't call destroy, if the page table fails to create there is nothing to cleanup here. (I'm willing to believe I've missed something here, so please review deeply). Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200728041736.20689-1-airlied@gmail.com
Diffstat (limited to 'drivers/gpu/drm/drm_probe_helper.c')
0 files changed, 0 insertions, 0 deletions