{"push_id":774379993,"size":15,"distinct_size":0,"ref":"refs/heads/master","head":"508a5f77fa7b76246465ca620c8badf281218529","before":"ab2fadabde3829b1ec56bd4756165dd9bd281488","commits":[{"sha":"ae7f7b27a10d4ff0967c45984e5bf577cef8b036","author":{"email":"ed69dc202bf8ac7d16518fe92d6622acfc2c860f@gmail.com","name":"Mauro Rossi"},"message":"amdgpu: add Makefile.sources\n\nReviewed-by: Alex Deucher <alexander.deucher@amd.com>\n[Emil Velikov: remove duplicate amdgpu.h from LIBDRM_AMDGPU_FILES]\nReviewed-by: Emil Velikov <emil.l.velikov@gmail.com>","distinct":false,"url":"https://api.github.com/repos/jonathangray/drm/commits/ae7f7b27a10d4ff0967c45984e5bf577cef8b036"},{"sha":"b201abe76b4adfd4defc5c5d7dd4b5f771ebb51c","author":{"email":"ed69dc202bf8ac7d16518fe92d6622acfc2c860f@gmail.com","name":"Mauro Rossi"},"message":"amdgpu: add Android build support\n\nReviewed-by: Alex Deucher <alexander.deucher@amd.com>\nReviewed-by: Emil Velikov <emil.l.velikov@gmail.com>","distinct":false,"url":"https://api.github.com/repos/jonathangray/drm/commits/b201abe76b4adfd4defc5c5d7dd4b5f771ebb51c"},{"sha":"4bac035c34b8dfd02e8046150fd19843058618b8","author":{"email":"5f743690db7c4e8ef24ca54e281a6e5d4c877f93@samsung.com","name":"Hyungwon Hwang"},"message":"xf86drmMode: remove the trailing white spaces\n\nThis patch removes the trailing white spaces.\n\nSigned-off-by: Hyungwon Hwang <human.hwang@samsung.com>","distinct":false,"url":"https://api.github.com/repos/jonathangray/drm/commits/4bac035c34b8dfd02e8046150fd19843058618b8"},{"sha":"6e84ada4ccf604c32a008fc20c00d79302135601","author":{"email":"5f743690db7c4e8ef24ca54e281a6e5d4c877f93@samsung.com","name":"Hyungwon Hwang"},"message":"modetest: remove the trailing white spaces\n\nThis patch removes the trailing white spaces.\n\nSigned-off-by: Hyungwon Hwang <human.hwang@samsung.com>","distinct":false,"url":"https://api.github.com/repos/jonathangray/drm/commits/6e84ada4ccf604c32a008fc20c00d79302135601"},{"sha":"cf40cf05a4d7f3945d534790e7768a048adc3ab0","author":{"email":"e511cfb17202ba0275112b380c5afd5975cba191@intel.com","name":"Rafał Sapała"},"message":"intel: Serialize drmPrimeFDToHandle with struct_mutex\n\nIt is possible to hit a race condition in create_from_prime, when trying\nto import a BO that's currently being freed. In case of prime sharing\nwe'll succesfully get a handle, but fail on get_tiling call, potentially\nconfusing the caller (and requiring different locking scheme than with\nsharing using flink). Wrap fd_to_handle with struct_mutex to force\na more consistent behaviour between prime/flink, convert fprintf to DBG\nwhen handling errors.\n\n(From Chris:\n  The race is that the kernel returns us the same file-private handle as\n  the first thread, but that first thread is about to call gem_close\n  (thereby removing the handle from the file completely) and does so\n  between us acquiring the handle and taking the mutex. If we take\n  the mutex, then we acquire the refcnt on the bo prior to the first\n  thread completing its unref (and so preventing the early close). Or we\n  acquire the handle after the earlier close, in which case we are the new\n  owner.\n)\n\nReviewed-by: Chris Wilson <chris@chris-wilson.co.uk>\nTestcase: igt/drm_import_export/import-close-race-prime\nSigned-off-by: Rafał Sapała <rafal.a.sapala@intel.com>\nSigned-off-by: Michał Winiarski <michal.winiarski@intel.com>","distinct":false,"url":"https://api.github.com/repos/jonathangray/drm/commits/cf40cf05a4d7f3945d534790e7768a048adc3ab0"},{"sha":"857c22e5ecf016bcd15508fec6e6d435bf69b58d","author":{"email":"404b2aa937e873bf09a53a7766b1fd0e848bab96@gmail.com","name":"Varad Gautam"},"message":"freedreno: fix a bo cache segfault with imported bo's\n\nImporting a bo whose handle is still in the bo cache crashes during cleanup.\nRemove bo from cache when importing.\n\nSigned-off-by: Varad Gautam <varadgautam@gmail.com>\nSigned-off-by: Rob Clark <robclark@freedesktop.org>","distinct":false,"url":"https://api.github.com/repos/jonathangray/drm/commits/857c22e5ecf016bcd15508fec6e6d435bf69b58d"},{"sha":"425c8e5af7e57d473cb94f1931baa427e58ef2f7","author":{"email":"404b2aa937e873bf09a53a7766b1fd0e848bab96@gmail.com","name":"Varad Gautam"},"message":"freedreno: fill bo->fd when importing\n\nSigned-off-by: Varad Gautam <varadgautam@gmail.com>\nSigned-off-by: Rob Clark <robclark@freedesktop.org>","distinct":false,"url":"https://api.github.com/repos/jonathangray/drm/commits/425c8e5af7e57d473cb94f1931baa427e58ef2f7"},{"sha":"1eba47a76365576447d6346868a074dca24de1bf","author":{"email":"404b2aa937e873bf09a53a7766b1fd0e848bab96@gmail.com","name":"Varad Gautam"},"message":"freedreno: get bo size for imported dma-buf\n\nSigned-off-by: Varad Gautam <varadgautam@gmail.com>\nSigned-off-by: Rob Clark <robclark@freedesktop.org>","distinct":false,"url":"https://api.github.com/repos/jonathangray/drm/commits/1eba47a76365576447d6346868a074dca24de1bf"},{"sha":"5c42b5e36a4a02e579ec5dcdc3a95ce58538224c","author":{"email":"7c02ba7af12bf2c84e0f0168491df73a024b986f@gmail.com","name":"Mathias Tillman"},"message":"drm: fix the usage after free\n\nFor readdir_r(), the next directory entry is returned in caller-allocted\nbuffer (pointered by pent here).\n\nhttps://bugs.freedesktop.org/show_bug.cgi?id=91704\n\nSigned-off-by: Mathias Tillman <master.homer@gmail.com>\nSigned-off-by: Jammy Zhou <Jammy.Zhou@amd.com>\nReviewed-by: Christian König <christian.koenig@amd.com>","distinct":false,"url":"https://api.github.com/repos/jonathangray/drm/commits/5c42b5e36a4a02e579ec5dcdc3a95ce58538224c"},{"sha":"b556ea127e004b734b2a7bf8e67cdcf56312171d","author":{"email":"4c996f2f093ddd0585a556460b4cc3ba555546ef@gmail.com","name":"Emil Velikov"},"message":"drm: add interface to get drm devices on the system v3\n\nFor mutiple GPU support, the devices on the system should be enumerated\nto get necessary information about each device, and the drmGetDevices\ninterface is added for this. Currently only PCI devices are supported for\nthe enumeration.\n\nTypical usage:\nint count;\ndrmDevicePtr *foo;\ncount = drmGetDevices(NULL, 0);\nfoo = calloc(count, sizeof(drmDevicePtr));\ncount = drmGetDevices(foo, count);\n/* find proper device, open correct device node, etc */\ndrmFreeDevices(foo, count);\nfree(foo);\n\nv2: [Jammy Zhou]\n - return a list of devices, rather than nodes\nv3: [Jammy Zhou]\n - fix the signed extension for PCI device info\n\nSigned-off-by: Emil Velikov <emil.l.velikov@gmail.com>\nSigned-off-by: Jammy Zhou <Jammy.Zhou@amd.com>","distinct":false,"url":"https://api.github.com/repos/jonathangray/drm/commits/b556ea127e004b734b2a7bf8e67cdcf56312171d"},{"sha":"51d72a619e8648544053c0c0f56a88eeef601cff","author":{"email":"0620d428a1bd3756b1319066bf466b3b8be0b2b2@redhat.com","name":"Jérôme Glisse"},"message":"drm: Add -lm to libdrm ldflags to fix build failure.\n\nLast commit (b556ea127e004b734b2a7bf8e67cdcf56312171d) introduced\nuse of log2 which require -lm flag for the linker on quite few\ndistribution. Just add that flag to fix build.\n\nSigned-off-by: Jérôme Glisse <jglisse@redhat.com>","distinct":false,"url":"https://api.github.com/repos/jonathangray/drm/commits/51d72a619e8648544053c0c0f56a88eeef601cff"},{"sha":"1e66ee21ab143e345865a452e3a60ae9f0652aaf","author":{"email":"4c996f2f093ddd0585a556460b4cc3ba555546ef@gmail.com","name":"Emil Velikov"},"message":"Move -lm link flag to LIBADD\n\nSigned-off-by: Emil Velikov <emil.l.velikov@gmail.com>","distinct":false,"url":"https://api.github.com/repos/jonathangray/drm/commits/1e66ee21ab143e345865a452e3a60ae9f0652aaf"},{"sha":"f6f25d67a9c0d26be9b8021a45f2acf3a4042ade","author":{"email":"c7ea837d7a46effe4232b086213468b8b31643bf@amd.com","name":"Christian König"},"message":"amdgpu: remove sequence mutex\n\nIt's not used any more.\n\nReviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>\nSigned-off-by: Christian König <christian.koenig@amd.com>","distinct":false,"url":"https://api.github.com/repos/jonathangray/drm/commits/f6f25d67a9c0d26be9b8021a45f2acf3a4042ade"},{"sha":"a5ea0c64c5ce673662249557b03c412fcc53e6c1","author":{"email":"c7ea837d7a46effe4232b086213468b8b31643bf@amd.com","name":"Christian König"},"message":"amdgpu: serialize drmPrimeFDToHandle\n\nFixes the same problem as \"intel: Serialize drmPrimeFDToHandle with struct_mutex\".\n\nReviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>\nSigned-off-by: Christian König <christian.koenig@amd.com>","distinct":false,"url":"https://api.github.com/repos/jonathangray/drm/commits/a5ea0c64c5ce673662249557b03c412fcc53e6c1"},{"sha":"508a5f77fa7b76246465ca620c8badf281218529","author":{"email":"3055038c414aef68bf32c33b8118623e7554e0f2@nvidia.com","name":"Thierry Reding"},"message":"omap: Initialize DMA BUF file descriptor to -1\n\nCommit c86dabfc9f04 (\"omap: zero is a valid fd number, treat it as\nsuch\") corrected checks for valid file descriptors, but the OMAP buffer\nobject code initializes the DMA-BUF file descriptor to 0 (as a result of\ncalloc()'ing the structure). Obviously this isn't going to work because\nsubsequent code will try to use file descriptor 0 (most likely stdin at\nthat point) as a DMA-BUF. It may also try and close stdin when a buffer\nobject is destroyed.\n\nFix this by initializing the DMA-BUF file descriptor to -1, properly\nmarking it as an invalid file descriptor.\n\nFixes: c86dabfc9f04 (\"omap: zero is a valid fd number, treat it as such\")\nReported-by: Robert Nelson <robertcnelson@gmail.com>\nTested-by: Robert Nelson <robertcnelson@gmail.com>\nReviewed-by: Emil Velikov <emil.l.velikov@gmail.com>\nSigned-off-by: Thierry Reding <treding@nvidia.com>","distinct":false,"url":"https://api.github.com/repos/jonathangray/drm/commits/508a5f77fa7b76246465ca620c8badf281218529"}]}