先确定你的gralloc有没有对吧。不会两个进程操作这个pan_display的, gralloc只被surfaceFlinger调用, surfaceFlinger运行在system server进程中的