From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 70F7B6E0BA for ; Tue, 3 Nov 2020 13:55:21 +0000 (UTC) From: "Kahola, Mika" Date: Tue, 3 Nov 2020 13:55:19 +0000 Message-ID: <002dd574e94644389425fc01a0fdee0c@intel.com> References: <20201023130526.3983076-1-mika.kahola@intel.com> <20201023130526.3983076-3-mika.kahola@intel.com> <20201102172705.GA3914202@ideak-desk.fi.intel.com> <20201102181231.GA3915554@ideak-desk.fi.intel.com> In-Reply-To: <20201102181231.GA3915554@ideak-desk.fi.intel.com> Content-Language: en-US MIME-Version: 1.0 Subject: Re: [igt-dev] [PATCH i-g-t v7 2/2] tests/kms_ccs: CCS Clear Color test List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: "Deak, Imre" Cc: "igt-dev@lists.freedesktop.org" List-ID: > -----Original Message----- > From: Imre Deak > Sent: Monday, November 2, 2020 8:13 PM > To: Kahola, Mika > Cc: igt-dev@lists.freedesktop.org > Subject: Re: [igt-dev] [PATCH i-g-t v7 2/2] tests/kms_ccs: CCS Clear Color test > > On Mon, Nov 02, 2020 at 07:27:05PM +0200, Imre Deak wrote: > > [...] > > On Fri, Oct 23, 2020 at 04:05:26PM +0300, Mika Kahola wrote: > > > @@ -274,16 +279,25 @@ gen7_fill_vertex_buffer_data(struct intel_bb > *ibb, > > > offset = intel_bb_offset(ibb); > > > > > > emit_vertex_2s(ibb, dst_x + width, dst_y + height); > > > - emit_vertex_normalized(ibb, src_x + width, intel_buf_width(src)); > > > - emit_vertex_normalized(ibb, src_y + height, intel_buf_height(src)); > > > + > > > + if (src != NULL) { > > > + emit_vertex_normalized(ibb, src_x + width, > intel_buf_width(src)); > > > + emit_vertex_normalized(ibb, src_y + height, > intel_buf_height(src)); > > The x coords need to be scaled down by 64 pixels, the y coords by 16 lines. So you mean that dst coordinates in case of Clear Color should be scaled down, x by 64 pixels and y by 16 lines? > > --Imre > > > > + } > > _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev