diff options
author | Eric Anholt <eric@anholt.net> | 2017-03-28 13:13:43 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2017-03-30 08:41:38 -0700 |
commit | 6d6e500391875cc372336c88e9a8af377be19c36 (patch) | |
tree | ce8bbf7fced390702e7ddac11e96bd96a7014ea7 /drivers/gpu/host1x/dev.c | |
parent | c02ed2e75ef4c74e41e421acb4ef1494671585e8 (diff) | |
download | blackbird-op-linux-6d6e500391875cc372336c88e9a8af377be19c36.tar.gz blackbird-op-linux-6d6e500391875cc372336c88e9a8af377be19c36.zip |
drm/vc4: Allocate the right amount of space for boot-time CRTC state.
Without this, the first modeset would dereference past the allocation
when trying to free the mm node.
Signed-off-by: Eric Anholt <eric@anholt.net>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170328201343.4884-1-eric@anholt.net
Fixes: d8dbf44f13b9 ("drm/vc4: Make the CRTCs cooperate on allocating display lists.")
Cc: <stable@vger.kernel.org> # v4.6+
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/host1x/dev.c')
0 files changed, 0 insertions, 0 deletions