{"push_id":556139635,"size":33,"distinct_size":33,"ref":"refs/heads/new-test6","head":"af855202d5e2f61957864dc42023500f8c2fb655","before":"007958d75aad99a90663aa0512b6d84d17c5bcc3","commits":[{"sha":"8427c58dc61e07a5067a310a9148c812bf526aab","author":{"email":"3009725c6c6b6fb37cdff722de251e866e8517b2@codeaurora.org","name":"Arun Menon"},"message":"msm: vidc: recover from firmware fatal error\n\nIf firmware goes in to bad state, the video driver\nshould try to restart the firmware, so that subsequent\nnew video sessions can play fine without error.\nPrevious to this change, the video driver would\nunload the firmware only after all open instances\nhave been closed by the client. If the client fails\nto close any of the open instances, then firmware\nwould not be unloaded and continue to remain in bad\nstate. This would fail all new video sessions and could\nbe overcome only after the device was reset.\n\nChange-Id: Ifadb2ecf6e7021ed60ee3b0992e4d1950f8ca53d\nSigned-off-by: Arun Menon <avmenon@codeaurora.org>\n\nConflicts:\n\tdrivers/media/platform/msm/vidc/venus_hfi.c","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/8427c58dc61e07a5067a310a9148c812bf526aab"},{"sha":"733187250f9200232e24347ed24da259bd66d84d","author":{"email":"260c74df5925d370e59f7fe45b5db12a67518eb2@codeaurora.org","name":"Vikash Garodia"},"message":"msm: vidc: ensure venus clocks are enabled while release buffer\n\nWhile interframe clock gating, venus clock are gated ON and\nOFF based on firmware response. It may happen that venus\nclocks are disabled while iommu driver unmaps output buffers.\nThis may lead to unclocked memory access.\nVenus clocks should be enabled while releasing output buffers.\n\nChange-Id: Ib7a04c2d3600ae91a229730e2caffbff9c8353ca\nCRs-Fixed: 645657\nSigned-off-by: Vikash Garodia <vgarodia@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/733187250f9200232e24347ed24da259bd66d84d"},{"sha":"ee48729a2e7c4607c6eb131a1e3bfdb0938f312c","author":{"email":"3009725c6c6b6fb37cdff722de251e866e8517b2@codeaurora.org","name":"Arun Menon"},"message":"msm: vidc: disable Hier-P when LTR is enabled\n\nHier-P and LTR are mutually exclusive in firmware. Disable Hier-P\nusing HFI_PROPERTY_PARAM_VENC_HIER_P_MAX_NUM_ENH_LAYER\ninstead of HFI_PROPERTY_CONFIG_VENC_HIER_P_ENH_LAYER.\n\nChange-Id: Ib4eb053a0ccef94c1996392eba19c5b83f7c9971\nSigned-off-by: Arun Menon <avmenon@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/ee48729a2e7c4607c6eb131a1e3bfdb0938f312c"},{"sha":"8238d63898d394b9b62cc4504aa026dcb0e2b900","author":{"email":"3009725c6c6b6fb37cdff722de251e866e8517b2@codeaurora.org","name":"Arun Menon"},"message":"msm: vidc: Increase I-frame period to INT_MAX\n\nThere is no restriction on I-frame and IDR period\nvalues, so set them to INT_MAX.\n\nChange-Id: I364ead16c3b8b8463fc8180159e5ee1f9fa10f37\nSigned-off-by: Arun Menon <avmenon@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/8238d63898d394b9b62cc4504aa026dcb0e2b900"},{"sha":"0610078d1e1d47156680065b0e2c33001637ec2a","author":{"email":"f288c30be003e2a3ede679c929b0e8db82d0c396@codeaurora.org","name":"Ravi Kiran Vonteddu"},"message":"msm: vidc: Check maximum width capability of Q6\n\nMaximum width capability check is required to take\ncare of indefinite behavior when a clip having width\nmore than Q6 capability is played. Also, make the\ncapability check generic for Q6 and Venus.\n\nCRs-fixed: 626642\nChange-Id: Ic10be0ad4434019fea45e7a090b21ba5cf54d9a6\nSigned-off-by: Ravi Kiran Vonteddu <rvontedd@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/0610078d1e1d47156680065b0e2c33001637ec2a"},{"sha":"cce9a4cf716824bc90c72073bd9f9f83cfebdcad","author":{"email":"f270451dcbab17e65aa34ef9555bcd382481f8b3@codeaurora.org","name":"Ashray Kulkarni"},"message":"msm: vidc: fix failure to set LTR with index value\n\nWhen MARKLTR/USELTR was set with a index value the value never\npropagated to firmware resulting in failure to set the property.\n\nChange-Id: I37536e1662c2d1092477fddde6838d4239805ac5\nSigned-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/cce9a4cf716824bc90c72073bd9f9f83cfebdcad"},{"sha":"8396390b564d2ddaa7076254c730989cc1a50e66","author":{"email":"2afa83dd02a4531013cf9ecb24e39a5ca10af967@codeaurora.org","name":"Deepak Verma"},"message":"msm: vidc: Add support for different errors\n\nWhen hardware is overloaded or when max number of clients are\nreached in driver or firmware, hardware error is sent to video\nclient. This change is to replace hardware error with actual\nerrors.\n\nCRs-fixed: 575852\nChange-Id: I07e599f894a3716a3dc4fed5eb7c987311f5bdde\nSigned-off-by: Deepak Verma <dverma@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/8396390b564d2ddaa7076254c730989cc1a50e66"},{"sha":"cd435cea54f0706c1e281dfdc9493fac2c338518","author":{"email":"260c74df5925d370e59f7fe45b5db12a67518eb2@codeaurora.org","name":"Vikash Garodia"},"message":"msm: vidc: unprepare clocks during power collapse\n\nIf any clock is still prepared (only disabled), apps will\nnot vote for XO shutdown. Unprepared clocks will remove the\nvote and facilitate XO shutdown.\nDuring power collapse, video drivers now disable and\nunprepare venus clocks.\nThere was minimal power savings during internal tests,\nbut customer reported to have impact of 13mA without\nthe change.\nThe change add different clock states. Clock state\ntransitions with clock api is shown below\n====================  clk_prepare_enable()    ==================\n|DISABLED_UNPREPARED| ----------------------  |ENABLED_PREPARED|\n====================  clk_disable_unprepare() ==================\n   ||                                                   ||\n   || clk_unprepare() ================    clk_disable() ||\n    -----------------|DISABLED_PREPARED| ---------------\n      clk_prepare()   ================    clk_enable()\n\nChange-Id: Id23302e359abcdf91c993835c6353fb251c96fe6\nCRs-Fixed: 604629\nSigned-off-by: Vikash Garodia <vgarodia@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/cd435cea54f0706c1e281dfdc9493fac2c338518"},{"sha":"d7dbceb1a0d3b331489865ff81bc50219f096662","author":{"email":"d2ddecd5ff6904a9eeb97af685230b06de92e8fd@codeaurora.org","name":"Jayasena Sangaraboina"},"message":"msm: vidc: Add AFD and CC metadata support to extradata\n\nAdd support and control for setting Active format\ndescription and closed caption meta data in the\nextradata. FW parses metadata and adds it to the\nextradata. Client can use control to parse extradata\nfor the metadata information.\n\nChange-Id: I79fb71e635927c95e0792862c9dea7d96f58e895\nSigned-off-by: Jayasena Sangaraboina <jsanga@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/d7dbceb1a0d3b331489865ff81bc50219f096662"},{"sha":"5e296935ca59a85429ff793390b88fa14603a581","author":{"email":"3009725c6c6b6fb37cdff722de251e866e8517b2@codeaurora.org","name":"Arun Menon"},"message":"msm: vidc: do not check for session supported in executing state\n\nThe v4l2 video driver should check if the video session is supported\nonly prior to entering the executing state. Once video session is\nin executing state, the session should be always honored.\n\nChange-Id: Iaa59089ef05f03bbc821af8c7fd4fbc342067b3a\nSigned-off-by: Arun Menon <avmenon@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/5e296935ca59a85429ff793390b88fa14603a581"},{"sha":"44140e6f9fe2e7e9fefda7d6c57c0833489a6bc4","author":{"email":"016fff0ba48297342cd4b99ac702337705a3d7e8@codeaurora.org","name":"Pachika, Vikas Reddy"},"message":"msm: vidc: Validate userspace buffer count before using it\n\nValidate the number of buffers count variable before\nusing it to avoid structure overflow error.\n\nChange-Id: I61582c93e0f26ec6842e437134fb8a42bdbc36ff\nCRs-fixed: 563654\nSigned-off-by: Pachika, Vikas Reddy <vpachi@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/44140e6f9fe2e7e9fefda7d6c57c0833489a6bc4"},{"sha":"f4f5a80f4bb8103a461e78bdcf1939f4ed3586a4","author":{"email":"016fff0ba48297342cd4b99ac702337705a3d7e8@codeaurora.org","name":"Pachika, Vikas Reddy"},"message":"msm: vidc: Validate userspace buffer count\n\nMakesure the number of buffers count is less than\nthe maximum limit to avoid structure overflow errors.\n\nChange-Id: Icf3850de36325637ae43ac95f1c8f0f63e201d31\nCRs-fixed: 563694\nSigned-off-by: Pachika, Vikas Reddy <vpachi@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/f4f5a80f4bb8103a461e78bdcf1939f4ed3586a4"},{"sha":"c8adbf6d7328fb0e4a27f9a2a701054729b8a955","author":{"email":"2a0259761cc3e88db42be5300c1579a67c77e65e@samsung.com","name":"Marek Szyprowski"},"message":"[media] Revert \"[media] v4l2: vb2: one more fix for REQBUFS()\"\n\nThis reverts commit 31901a078af29c33c736dcbf815656920e904632.\n\nQueue should be reinitialized on each REQBUFS() call even if the memory\naccess method and buffer count have not been changed. The user might have\nchanged the format and if we go the short path introduced in that commit,\nthe memory buffer will not be reallocated to fit with new format.\n\nThe previous patch was just over-engineered optimization, which just\nintroduced a bug to videobuf2.\n\nReported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>\nSigned-off-by: Marek Szyprowski <m.szyprowski@samsung.com>\nCC: Pawel Osciak <pawel@osciak.com>\nSigned-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>\n\nChange-Id: I537d5dcc025a176111fefc4bcdad934266373573\nGit-commit: bf7b73efb7f52abf56b512546c3bbc35001dd696\nGit-repo: https://github.com/torvalds/linux.git\nSigned-off-by: Pushkaraj Patil <ppatil@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/c8adbf6d7328fb0e4a27f9a2a701054729b8a955"},{"sha":"fd444e4cc6dcd8237036bc037db819f1a712d97b","author":{"email":"8f8b6109cd5e7b75746932bf5dcf69e763e1f0b2@codeaurora.org","name":"Deva Ramasubramanian"},"message":"msm: vidc: Advertise extradata size in queue_setup()\n\nIf extradata is enabled, the correct size must be advertised as part of\nqueue_setup().  Prior to this commit, the output buffer size was taken\nto be the extradata size.\n\nIn order to make sure that we aren't advertising stale buffer sizes,\nquery the core for both CAPTURE and OUTPUT planes.\n\nChange-Id: I300e0e1d852caab208fd4cfc6df7cf3152f52431\nSigned-off-by: Pushkaraj Patil <ppatil@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/fd444e4cc6dcd8237036bc037db819f1a712d97b"},{"sha":"34556c7b96c3ddeaf991a8294fc9dd04d65f0261","author":{"email":"356507700f845b32ec20e91774f0c688efab9876@codeaurora.org","name":"Pushkaraj Patil"},"message":"msm: vidc: remove fw version condition for core capabilities\n\nDifferent core capabilities are supported from fw version\n1.4 onwards, so removing fw version condition from driver.\n\nChange-Id: If618dbe51982f044e67b435bedf4d25f14f96110\nSigned-off-by: Pushkaraj Patil <ppatil@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/34556c7b96c3ddeaf991a8294fc9dd04d65f0261"},{"sha":"5e88a73c3a58450d183998bbc301bd18e67a171b","author":{"email":"e6d36c67281dee6c10acf94bd456bc8eeaadc8d8@codeaurora.org","name":"huiy"},"message":"msm: vidc: Add NULL pointer check before deiniting controls\n\nAdd NULL pointer check in deinit function, and return -EINVAL\nwhen NULL pointer is found.\nWithout this change, accidentally, msm_venc_ctrl_deinit() will be called\nwith a null pointer parameter, which will cause kernel panic.\n\nChange-Id: I80bb6c271dcd3277ddce5332c5f42328ca376128\nCRs-Fixed: 652365\nSigned-off-by: huiy <huiyQuic@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/5e88a73c3a58450d183998bbc301bd18e67a171b"},{"sha":"ae1d644e34463840131c146df0459e60ff362ef4","author":{"email":"3009725c6c6b6fb37cdff722de251e866e8517b2@codeaurora.org","name":"Arun Menon"},"message":"msm: vidc: Fix race condition during concurrent sessions\n\nThe core->instances list structure is guarded by\nmutex core->lock, whenever a new video instance is added\nor deleted from the list. However this list was accessed\nfrom certain functions without acquiring the lock, which\nresulted in race condition, causing the device to crash.\nAlso clean up the core locking mechanism.\n\nChange-Id: I6f431bc381d54948611783e19fac853c83a87203\nSigned-off-by: Arun Menon <avmenon@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/ae1d644e34463840131c146df0459e60ff362ef4"},{"sha":"c0f3d71b7e83cf1694043a5060dc97f6fe8f7088","author":{"email":"3009725c6c6b6fb37cdff722de251e866e8517b2@codeaurora.org","name":"Arun Menon"},"message":"msm: vidc: Query deblocker parameters from cluster\n\nVarious fields of h264_db_control were left uninitialised before being\nsent to the firmware.  As a result, due to poor luck, the resulting\nencoded bitstreams were invalid as the alpha and beta were not in the\nacceptable range of [-6, 6].  This commit fills the uninitialised values\nwith values obtained by querying the cluster.\n\nChange-Id: Ic217d007239bc059302bdcdf2aebad1c9ca88244\nSigned-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>\nSigned-off-by: Arun Menon <avmenon@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/c0f3d71b7e83cf1694043a5060dc97f6fe8f7088"},{"sha":"b2f4fb1100644d883a4739411e332871ef8ad01c","author":{"email":"8f8b6109cd5e7b75746932bf5dcf69e763e1f0b2@codeaurora.org","name":"Deva Ramasubramanian"},"message":"msm: vidc: Print out the proper height and width in debugfs\n\nThe driver was printing out the width and height from the OUTPUT port by\ndefault, which is controlled from the client.  If the client doesn't\nknow any better and sets a bogus width and height, we would mirror that\nin debugfs.  The width and height on the CAPTURE port is something we\nreceive from Venus and is guaranteed to be correct.\n\nChange-Id: Ic5762cd63377aaef19ca488a2f9a31304ae0eafe\nSigned-off-by: Manikanta Sivapala <msivap@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/b2f4fb1100644d883a4739411e332871ef8ad01c"},{"sha":"94cb15327b0769a748758813c8f28a25d06caab4","author":{"email":"f288c30be003e2a3ede679c929b0e8db82d0c396@codeaurora.org","name":"Ravi Kiran Vonteddu"},"message":"msm-vidc: Modify Q6 HFI not to alter VP8 max supported width\n\nModify Q6 HFI not to alter the core returned max supported\nwidth and height. Whereas venus HFI will alter the the max\nsupported width and height to 1080p.\n\nChange-Id: I901862e8fc98a1a6d80e62e7ab2d6477de5f07a4\nSigned-off-by: Ravi Kiran Vonteddu <rvontedd@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/armani-dev/android_kernel_xiaomi_armani/commits/94cb15327b0769a748758813c8f28a25d06caab4"}]}