{"push_id":856155792,"size":22,"distinct_size":22,"ref":"refs/heads/android-5.1-test","head":"b874a21eea614ce322b33d27d659b6db79e0234b","before":"1ae2f3827b139ffec113bcf3654e102c96f9d6e6","commits":[{"sha":"05f10aee74c56562349eac70e970730e71f65c7e","author":{"email":"9b93fe4f8bf0935df85e9fa41acda3dd35449b79@codeaurora.org","name":"Surajit Podder"},"message":"msm: vidc: Add same fd ref only for static buffer mode\n\nAdd same fd ref only for static buffer mode.\nDriver is configured for dynamic buffer mode by\ndefault on Venus 3xx targets. If client uses the\nsame fd for all output buffers, then the first\nbuffer can remain mapped without reference, which\nis incompatible with the curently logic which\nassumes buffers to have a reference if they are\nalready mapped\n\nCRs-Fixed: 773605\nChange-Id: I025fe373532e185660d43bae28457cbf06f20e7a\nSigned-off-by: Surajit Podder <spodder@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/05f10aee74c56562349eac70e970730e71f65c7e"},{"sha":"e6f4b3a19370a8db7366e6bd570376289d161264","author":{"email":"0ff7a2b3294c379f9aa5e055207871b7edad1f8c@codeaurora.org","name":"Srinu Gorle"},"message":"msm: vidc: avoid crash due to division by zero\n\nThere is a crash due to division by zero in a very\ncorner case while printing statistics when debug logs\nare enabled. Avoid the crash by checking for divisor\nis non zero before division operation.\n\nChange-Id: Ideaa626303bc7955f41851f068bbd0e19d3c6b90\nSigned-off-by: Srinu Gorle <sgorle@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/e6f4b3a19370a8db7366e6bd570376289d161264"},{"sha":"245328cbf5a5c4f9537d233adf0dda331eb0e498","author":{"email":"0ff7a2b3294c379f9aa5e055207871b7edad1f8c@codeaurora.org","name":"Srinu Gorle"},"message":"msm: vidc: program QDSS mapping addresses based on target\n\nQDSS mapping addresses can vary based on target.\nRemove static QDSS mapping table definition in venus hfi layer.\nThis change parses dtsi file and program appropriate QDSS memory\nmap addresses to venus firmware.\n\nChange-Id: I8a06d041fec41c76c6e3959b06cbd4449680eb9c\nSigned-off-by: Srinu Gorle <sgorle@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/245328cbf5a5c4f9537d233adf0dda331eb0e498"},{"sha":"b06962280bd0812192b190de5fed2017b818ef5a","author":{"email":"f270451dcbab17e65aa34ef9555bcd382481f8b3@codeaurora.org","name":"Ashray Kulkarni"},"message":"msm: vidc: enable decoder dcvs for HEVC and VP8\n\ndecoder dcvs is enabled only for H264 codec. This commit enables\ndcvs for HEVC and VP8 codecs, thereby reducing power used to\ndecode HEVC and VP8 4K clips.\n\nChange-Id: Iadf3f62d6189b5045eabf5fc4a9eeafa7801a6d0\nSigned-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/b06962280bd0812192b190de5fed2017b818ef5a"},{"sha":"e331323e1bb80e0532ffe6e62ca58d09d59e04e0","author":{"email":"0e3ab3e485f5469ea79d32d8876d1e2069da6bd5@codeaurora.org","name":"Praneeth Paladugu"},"message":"msm: vidc: cancel power collapse before venus command\n\nCurrently power collapse thread is canceled once the command is\nwritten into interface queues. Venus may pick up this command and\nstarts working. When driver queries for PC_PREP, Venus immediately\nreturned without canceling current tasks. This makes driver to do\nPC while Venus is still working. This results in unknown behavior.\nSo driver needs to make sure that it cancels the PC thread before\nany command to Venus. If PC thread already scheduled, cmdq write\nwill wait till PC finishes and do power on before giving interrupt\nto Venus.\n\nChange-Id: I7e2af9b2aea6240b52857b920f2ce0c60b2040c3\nSigned-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>\nSigned-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/e331323e1bb80e0532ffe6e62ca58d09d59e04e0"},{"sha":"2c1cecf970aeac20b4b2bcb91869bb7d0daed648","author":{"email":"f270451dcbab17e65aa34ef9555bcd382481f8b3@codeaurora.org","name":"Ashray Kulkarni"},"message":"msm: vidc: replace resurrect_fw with unload_fw\n\nresurrect_fw() unloads and reloads firmware after 5 seconds.\nOpening new sessions during these 5 seconds fails. This\ncommit replaces resurrect_fw() with unload_fw ensuring current\nsession is unloaded cleanly.\n\nChange-Id: Iaffc7b0e752f488182cd15db2913742416d3662d\nSigned-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/2c1cecf970aeac20b4b2bcb91869bb7d0daed648"},{"sha":"4f1c9dc07b7dc09c796960ad3363d95e57192a62","author":{"email":"0e3ab3e485f5469ea79d32d8876d1e2069da6bd5@codeaurora.org","name":"Praneeth Paladugu"},"message":"msm: vidc: Add support to read venus version through debugfs\n\nCurrently Venus release version is printed in kernel logs. So\nto get venus version user needs to run video playback\\encoding\neverytime. Storing version in debugfs is handy.\n\nChange-Id: I6d93c374a4402d41f3912b71f20fb68305d9d742\nSigned-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/4f1c9dc07b7dc09c796960ad3363d95e57192a62"},{"sha":"3084d0216d0b573283c8b9a8fb5b386558b6f0e7","author":{"email":"b8a62d88022bb738dd740aa61d92447d8b7ce75d@codeaurora.org","name":"Manikanta Sivapala"},"message":"msm: vidc: Convert realloc to resource managed malloc to avoid memleak.\n\nWhenever the probe is deferred, the resources that are allocated by\ndevm_kzalloc() will automatically get freed, but that are\nallocated by krealloc() has to be freed explicitly.\nIn video driver currently memory related to regulator is allocated\nusing krealloc. Such memory is causing memory leak when probe is deferred.\n\nConvert krealloc to devm_kzalloc to avoid memleak during probe defer.\n\nChange-Id: I6653a6c204fb219a4a72e14904ff1c044a57b976\nSigned-off-by: Manikanta Sivapala <msivap@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/3084d0216d0b573283c8b9a8fb5b386558b6f0e7"},{"sha":"22372d5c796f4416ec0c445069aa21df217bd331","author":{"email":"f270451dcbab17e65aa34ef9555bcd382481f8b3@codeaurora.org","name":"Ashray Kulkarni"},"message":"msm: vidc: aggregate OCMEM bandwidth for low-power mode\n\nOCMEM voting was hardcoded during low-power mode. This would\nbreak low power mode if underneath code is modified. This\ncommit aggregates the load programatically.\n\nChange-Id: Ibe1252e7795227b3642033b2577a01c04032ea6a\nSigned-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/22372d5c796f4416ec0c445069aa21df217bd331"},{"sha":"3e3e4e6f9d735a2e0d1a119ba8385cb9f6674e51","author":{"email":"f270451dcbab17e65aa34ef9555bcd382481f8b3@codeaurora.org","name":"Ashray Kulkarni"},"message":"msm: vidc : report PC_PREP failure as SYS_ERROR\n\nWhen prepare for power collapse command fails, firmware is in\nunusable state. This will make the driver unusable. This commit\nreports this failure as SYS_ERROR resulting in unloading the\ndriver and firmware so next session can be opened successfully.\n\nChange-Id: I849c2f8e98621bdff6ca4dddfd859a916e16dcb3\nSigned-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/3e3e4e6f9d735a2e0d1a119ba8385cb9f6674e51"},{"sha":"8648c602976e9f9e3ae8e6c377044e53bf9cd493","author":{"email":"0e3ab3e485f5469ea79d32d8876d1e2069da6bd5@codeaurora.org","name":"Praneeth Paladugu"},"message":"msm: vidc: Limit the session QP for HEVC encoder\n\nFor some use cases HEVC RC algorithm is deriving QP as\nlow as 1. This increases the encoded bit rate to very\nhigh value. Hence limit the minimum QP value to 2.\n\nCRs-Fixed: 817156\nChange-Id: I3f5cc0e51203272657673563ca94dcbbb778fe01\nSigned-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/8648c602976e9f9e3ae8e6c377044e53bf9cd493"},{"sha":"f0b8ec45e4262329f8244651c27856972d145a62","author":{"email":"0e3ab3e485f5469ea79d32d8876d1e2069da6bd5@codeaurora.org","name":"Praneeth Paladugu"},"message":"msm: vidc: Protect suspend operation with core lock\n\nVideo driver may recieve suspend command at any time. Processing\nthis command in middle of FW unloading causes race conditions\nbetween power collpase and fw_unload threads. Hence protect both\noperations with core->lock.\n\nChange-Id: I9beb79d610545b772dfc8877a3891e5e054c0f79\nSigned-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/f0b8ec45e4262329f8244651c27856972d145a62"},{"sha":"f01ddd043ed6cf863a643a5238db329f8a856274","author":{"email":"0e3ab3e485f5469ea79d32d8876d1e2069da6bd5@codeaurora.org","name":"Praneeth Paladugu"},"message":"msm: vidc: Process PC_PREP_DONE inside msgq read loop\n\nRight now PC_PREP_DONE is processed outside the while loop of\nmsgq read. In this loop driver may receive more than one message\nfrom FW. So if some message recieved after PC_PREP_DONE, then the\nrc will be over written with the last message. This causes\nPC_PREP_DONE message loss and eventually PC_PREP_TIMEOUT. Hence\nprocess the PC_PREP_DONE in the loop so that the waiting thread\nwill be notified.\n\nChange-Id: I1a6a99f9b82c5968c7c1ea1b1b204214a3ab2b5d\nSigned-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/f01ddd043ed6cf863a643a5238db329f8a856274"},{"sha":"d16c16df8f0aef49de3409bef8977434e3c49134","author":{"email":"0e3ab3e485f5469ea79d32d8876d1e2069da6bd5@codeaurora.org","name":"Praneeth Paladugu"},"message":"msm: vidc: Defer suspend till Venus goes to power collapse\n\nSince Venus doesn't support run time power collapse, defer\nit till Venus goes to normal power collapse.\n\nChange-Id: Ieee23026cdaab58c00be8ba127f8b019ff383998\nSigned-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/d16c16df8f0aef49de3409bef8977434e3c49134"},{"sha":"958af65574209c41e1a15999c9b10a0bf8af8a87","author":{"email":"f270451dcbab17e65aa34ef9555bcd382481f8b3@codeaurora.org","name":"Ashray Kulkarni"},"message":"msm: vidc: remove adding of extra input buffers for encoder\n\nWhen power save mode for 4K recording is enabled, driver adds two\nextra input buffers to enable DCVS. This change removes the addition\nof extra buffers as camera adds them now.\n\nChange-Id: I6b7a789cd146f1441ceaeb2b3ede178e2be94d5f\nSigned-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/958af65574209c41e1a15999c9b10a0bf8af8a87"},{"sha":"0d86a344fe61ee40ca6ab45a3477944a4e2f431a","author":{"email":"d1996fe015c1f347dddf6c16199179596b8014db@codeaurora.org","name":"Naveen Ramaraj"},"message":"msm: vidc: Handle max clients error properly\n\nWhen FW returned max clients error, driver is changing inst->state\nto INVALID. With this driver doesn't know if FW had valid session or\nnot to send ABORT command. If driver sends ABORT command, FW times out\nbecause there is no session in FW. Hence clean the session in HFI when\nFW returns max clients error so that ABORT doesn't reach FW.\n\nBug: 21736521\nChange-Id: I4da5b457b30415458ce79cf7b0de0bf22f82f8e3\nSigned-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>\nSigned-off-by: Mekala Natarajan <mekalan@codeaurora.org>\nSigned-off-by: Naveen Ramaraj <nramaraj@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/0d86a344fe61ee40ca6ab45a3477944a4e2f431a"},{"sha":"434de308249a5fa26bcc598a6288a2e0523efa4b","author":{"email":"0e3ab3e485f5469ea79d32d8876d1e2069da6bd5@codeaurora.org","name":"Praneeth Paladugu"},"message":"msm: vidc: Disable DCVS when Turbo mode is enabled\n\nWhen clients enabled Turbo mode, it is expected that Venus runs\nat Turbo frequency. But due to DCVS it may go to Nominal which is\ndifferent from clients expectation. Hence disable DCVS when Turbo\nmode is enabled.\n\nChange-Id: Ia1536cf5d888b9db6591ad5058f09fdccce3ca96\nSigned-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>\nSigned-off-by: Ajay Dudani <adudani@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/434de308249a5fa26bcc598a6288a2e0523efa4b"},{"sha":"9ae9c04380f07b881707718852a92bb8b1f62ea3","author":{"email":"f270451dcbab17e65aa34ef9555bcd382481f8b3@codeaurora.org","name":"Ashray Kulkarni"},"message":"msm: vidc: Fix output buffer count in thumbnail mode\n\nIn thumbnail mode when client opens multiple sessions, decoder sets\nminimum output buffer count to 6 thus resulting in OOM scenario. This\nchange updates the output buffer count in case of thumbnail mode and\nmaintains the min count as 6 for regular decoding.\n\nChange-Id: I8b6df51a7a554f65813125aed98208f5e0d04471\nSigned-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/9ae9c04380f07b881707718852a92bb8b1f62ea3"},{"sha":"2da7a7c2767e2bfb8958b36dea6193276621ca5b","author":{"email":"f270451dcbab17e65aa34ef9555bcd382481f8b3@codeaurora.org","name":"Ashray Kulkarni"},"message":"msm: vidc: add missing v4l2_fh_exit in driver\n\nDuring driver close v4l2 event handler is deleted but v4l2_fh_exit()\nis not called. This may result in events getting queued even after\nv4l2_fh is deleted. This change adds v4l2_fh_exit() call which\nunsubscribes all events preventing queuing further events.\n\nChange-Id: Ic5b9b12f005ae70e58afcdbe74d52bef3fceb79a\nSigned-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/2da7a7c2767e2bfb8958b36dea6193276621ca5b"},{"sha":"ae0007ea5f829354952be82d173c2f92dcc9e2ec","author":{"email":"11e4191b1ae5cae13d3da02c22f40620ad984fdf@google.com","name":"Riley Andrews"},"message":"Turn off trace_printk in vidc's dprink.\n\nThis saves us 12MB of memory + ctx switch overhead.\n\nChange-Id: I21d6b4c97e5068f87b00bbcab964548bbd207728\nBug 23594723","distinct":true,"url":"https://api.github.com/repos/erikcas/android_kernel_sony_msm/commits/ae0007ea5f829354952be82d173c2f92dcc9e2ec"}]}