From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damien Lespiau Subject: Re: [PATCH 1/3] drm/i915: Don't set mode_config's cursor size Date: Tue, 25 Mar 2014 16:57:04 +0000 Message-ID: <20140325165704.GD1729@strange.amr.corp.intel.com> References: <1395758972-31316-1-git-send-email-damien.lespiau@intel.com> <1395758972-31316-2-git-send-email-damien.lespiau@intel.com> <20140325145456.GC1719@nuc-i3427.alporthouse.com> <20140325145918.GD8248@strange.amr.corp.intel.com> <20140325150916.GD1719@nuc-i3427.alporthouse.com> <20140325160529.GA1729@strange.amr.corp.intel.com> <20140325163824.GG1719@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 220626E0C9 for ; Tue, 25 Mar 2014 09:58:05 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20140325163824.GG1719@nuc-i3427.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Chris Wilson , intel-gfx@lists.freedesktop.org, Sagar Kamble List-Id: intel-gfx@lists.freedesktop.org On Tue, Mar 25, 2014 at 04:38:24PM +0000, Chris Wilson wrote: > For the record, > > 16:30 < agd5f> ickle, our GPUs don't have selectable cursor sizes > 16:31 < agd5f> so on the newer ones, xf86-video-modesetting, etc. would > allocate a 64x64 cursor and it would look squashed and funky since the > hw expects 128x128 > > Which means I was confused when I thought part of the reasoning was > indeed HiDPI support. (I'm still seem to remember that was part of the > argument for large cursors anyway.) > > > Are you saying the Intel DDX currently derives a different meaning to > > the intented behaviour? in which case it can still be changed to not do > > that? > > I still disagree though. This provides all the information I need to > support variable sized cursors and we can use large cursors today. I'd love the game to be about defining clear semantics more than "by interpreting that value this way, I got what I always wanted" :) We can resolve that today with MAX_CURSOR_WIDTH, MAX_CURSOR_HEIGHT caps as well (if you're alluding at the fact that drm_planes may still be a few decades away). We'll still need to expose the full list of supported cursor sizes for compositors at some point or another, my preferred way would be with a property in the exposed cursor drm_plane. -- Damien