Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752158AbdFPWqY (ORCPT ); Fri, 16 Jun 2017 18:46:24 -0400 Received: from mail-ve1eur01on0122.outbound.protection.outlook.com ([104.47.1.122]:55296 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752026AbdFPWqW (ORCPT ); Fri, 16 Jun 2017 18:46:22 -0400 Authentication-Results: lists.freedesktop.org; dkim=none (message not signed) header.d=none;lists.freedesktop.org; dmarc=none action=none header.from=axentia.se; Subject: Re: [RFC PATCH 1/3] atmel-hlcdc: add support for 8-bit color lookup table mode From: Peter Rosin To: Boris Brezillon Cc: linux-kernel@vger.kernel.org, David Airlie , Daniel Vetter , Jani Nikula , Sean Paul , dri-devel@lists.freedesktop.org References: <1497604347-17960-1-git-send-email-peda@axentia.se> <1497604347-17960-2-git-send-email-peda@axentia.se> <20170616120148.28c9caca@bbrezillon> <2f78bacf-b779-676d-3fbd-c49a7c851788@axentia.se> <20170616181519.37757934@bbrezillon> Organization: Axentia Technologies AB Message-ID: <88384c85-6115-6833-663c-6e9ca802d867@axentia.se> Date: Sat, 17 Jun 2017 00:46:12 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [81.224.171.159] X-ClientProxiedBy: DB6PR07CA0175.eurprd07.prod.outlook.com (2603:10a6:6:43::29) To DB6PR0202MB2549.eurprd02.prod.outlook.com (2603:10a6:4:1b::7) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 57af6488-e02f-49f8-0cfa-08d4b5098036 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075);SRVR:DB6PR0202MB2549; X-Microsoft-Exchange-Diagnostics: 1;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NiNbhhlgAr1hDC9qenVFM8BkQf6MzZc0ju2k0XZbwM/C/mWXvDlgX5aMJkLkqal021eJjlY4w== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123560025)(20161123555025)(2016111802025)(6043046)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DB6PR0202MB2549;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DB6PR0202MB2549; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtEQjZQUjAyMDJNQjI1NDk7NDpVVnFtaVlSamwxbDFMeS9iWWxZWXdhR2ZV?= =?utf-8?B?RS9Pd1hvVVlPazM0dXpiOHEwcVh3NGxLOWwreXEvWUtUUmZrUTB4UVZNUGJP?= =?utf-8?B?VVpDMERtVHZpdktvZ1dBeHNRT1F0MEpQcmNFUUVaZm1LT0d6Z3ZOYUlGWVRJ?= =?utf-8?B?VWs1S2x2UXdZL3h2UDJmV2ZaV2ZMR1lxM2dEcmhlNEdiY0ZPZ2VtUVlrSHln?= =?utf-8?B?Wk5VQ0VjNTFCNGNHZmdrMzRlZ0MxSmlQdzZpTGxnNk9LbzVzZ2UzODBHaStB?= =?utf-8?B?MTQzdEJBOVFIenY3R0doanlDTDZkNkZnQlV5QWgzRjRiMEhUcWxmSU5OZzIx?= =?utf-8?B?SVNMZ3M3T2xYR2dtM3NrNUZDcGlvL0xvc1pISmFhYWhqZzRMT2t2WEw2b21S?= =?utf-8?B?NllwSW9lV1VRaE1WNWQ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LRmxTMG1ad2ZQaks0TlY3NEhWU0NjeUVsOWtuMml1eTZ5M1JHblhw?= =?utf-8?B?c1lmWmcxVi9LTGw2d2pvTDBlNWoybUk3THBzb1hmWmxCZXJrMlREeStmOW1E?= =?utf-8?B?VC91WFlSQ0hhbXZ4SkVobW1IZHZtSHI5ZHZmNFJoRUZDa09sdlJFSnhkMnhr?= =?utf-8?B?TDFROEJqbmJUZkVHYmE0RlB1bk96djVWdjRuOG16MXFoN2VjaEViUGdLQjF2?= =?utf-8?B?VVZCays0aUsrQU54aUZjaU1TZ1ErbWFWenk4WnlqZ1Z3OEh6UnFpOHhaY2Zt?= =?utf-8?Q?KB464PcVH1bmNgfJWEu0K?= X-Forefront-PRVS: 0340850FCD X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(6049001)(39830400002)(39410400002)(39450400003)(39400400002)(54356999)(38730400002)(8676002)(6916009)(6486002)(230700001)(6666003)(81166006)(189998001)(64126003)(7736002)(50466002)(33646002)(42186005)(2950100002)(4001350100001)(6246003)(110136004)(966005)(93886004)(53936002)(478600001)(54906002)(83506001)(31686004)(47776003)(6116002)(117156002)(3846002)(305945005)(25786009)(23676002)(77096006)(5660300001)(76176999)(50986999)(3260700006)(31696002)(6306002)(74482002)(86362001)(2906002)(66066001)(36756003)(4326008)(42262002)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DB6PR0202MB2549;H:[192.168.0.125];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtEQjZQUjAyMDJNQjI1NDk7MjM6N3FqTENvQlJ2SHpuU0ZXN3N6NmphRWdr?= =?utf-8?B?eHM0SVNCMlNsaEczMWxZem5vK3ZpVzducjRjVTR0Q3IxcGtnM2diOTl3S09O?= =?utf-8?B?bE0wRXovZHBoKzZqa3p5VUNkZXhPVDN2NGZ2MTVnMENleTdYWjE2Mi8vdjJv?= =?utf-8?B?Y3RSK2lLK3RKb2laVStrZz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diagnostics: 1;DB6PR0202MB2549;7:P5RrhlXHIIaVTjFm+ghQhWrHLIIxqnEbAh6TDHmgL4y4mGdlQluqwAtXZuagPrLtiqu84R+NLJytZajjtZt00jK58VSetkfyh0mvI9Jy68BzId9xslEgksym+JbiQEX6hGtonbhtTG2ccBdw5ahPalxa4Hp2GlL1xdpQ+PfQGCQJjpD/2Wm1iuSjFgDCMXnoCzN5R2mkylmyn0gb0xMvWFl4hz+E5EEzfkoirWAh9Hm84/P7hv5cbCbapPqsyd8zGmkjQZ176ILsaFpZzqf/uhu/zGP0AlSceVLIuR34e4ct1Yj1IMaLpGJi3K7wAui0GgwWl8fyfPNr3P9fM55XhxbUlXDgAT/AkPOqHjACJivMqHUGP5p2ApoidO5VqD2gJfgFYfks8MjWejoy85aoFLquftCrWZp5JUHhmXRvPezD7qH07n+3Mrua2Qcs2FGrkj+jhtkcRaYS+cb6C55TThavwXISvhYl7ZelgRw4kPu4ETUnQiezfS9fDheIXxxDI/SLzgmO4U8UsYv+d4uZa25PfYnKJr5bedHvqHHeMfQFA/N49ObPMB5XwhZ2tXTMOahaNFQzsan1xeRtrcYuwVMpBC35p96QW1WI5Ihj1jLV1PeEXVtDWDEQBHahYl5U6XcjdVPE3FLxajTL5/smyyXhe/BJ4ZtlKtMerQaepT/xm8DBwQT8a5TZYGo7RjYIsny4MAn0+JD6dTuDSAa6FpvNEgmD12FzjPTAjpFXql0B6pra9Uxk0vkg2KNG0y/Jlx597mfAOh04g7UJI+vKm7ILJ266LjsdCduSNSduPH4= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2017 22:46:16.7222 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0202MB2549 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1565 Lines: 40 >>>> Hm, it's probably too late to do it here. Planes have already been >>>> enabled and the engine may have started to fetch data and do the >>>> composition. You could do that in ->update_plane() [1], and make it a >>>> per-plane thing. >>>> >>>> I'm not sure, but I think you can get the new crtc_state from >>>> plane->crtc->state in this context (state have already been swapped, >>>> and new state is being applied, which means relevant locks are held). >>> >>> Ok, I can move it there. My plan is to just copy the default .update_plane >>> function and insert >>> >>> if (crtc->state->color_mgmt_changed && crtc->state->gamma_lut) { >>> ... >>> } >>> >>> just before the drm_atomic_commit(state) call. Sounds ok? >> >> Why would you copy the default ->update_plane() when we already have >> our own ->atomic_update_plane() implementation [1]? Just put it there >> (before the atmel_hlcdc_layer_update_commit() call) and we should be >> good. > > Ahh, but you said ->update_plane() and I took that as .update_plane in > layer_plane_funcs, not ->atomic_update() in atmel_hlcdc_layer_plane_helper_funcs. > > Makes sense now, and much neater too. No, it doesn't make sense. There's no atmel_hlcdc_layer_update_commit call anywhere, and no such function. You seem to have some further changes that are not even in -next. Where am I getting those changes and why are they not upstream yet? There's a mention of the missing function here [1], but that's some 18 months ago. What's going on? [1] https://patchwork.kernel.org/patch/7965721/ Cheers, peda