diff options
author | Rob Clark <robdclark@gmail.com> | 2013-09-06 15:36:40 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2013-09-10 13:57:42 -0400 |
commit | 198725337ef1f73b73e7dc953c6ffb0799f26ffe (patch) | |
tree | f0772c0a34e6c55a99ff83d5043281ff8f712e37 /drivers/gpu/drm/msm/msm_gem.c | |
parent | 26791c48e1dcdc17c6c952585806b0ecc493f939 (diff) | |
download | talos-op-linux-198725337ef1f73b73e7dc953c6ffb0799f26ffe.tar.gz talos-op-linux-198725337ef1f73b73e7dc953c6ffb0799f26ffe.zip |
drm/msm: fix cmdstream size check
Need to check size+offset against bo size (duh!).. now we have a test
case to make sure I've done it right:
https://github.com/freedreno/msmtest/blob/master/submittest.c
Also, use DRM_ERROR() for error case traces, which makes debugging
userspace easier when enabling debug traces is too much.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gem.c')
0 files changed, 0 insertions, 0 deletions