summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_gem.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2013-09-06 15:36:40 -0400
committerRob Clark <robdclark@gmail.com>2013-09-10 13:57:42 -0400
commit198725337ef1f73b73e7dc953c6ffb0799f26ffe (patch)
treef0772c0a34e6c55a99ff83d5043281ff8f712e37 /drivers/gpu/drm/msm/msm_gem.c
parent26791c48e1dcdc17c6c952585806b0ecc493f939 (diff)
downloadtalos-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
OpenPOWER on IntegriCloud