From: Jani Nikula <jani.nikula@intel.com>
To: "Shankar, Uma" <uma.shankar@intel.com>,
"Murthy, Arun R" <arun.r.murthy@intel.com>,
"intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>
Subject: Re: [Intel-xe] [v2 3/3] drm/xe: Create a dummy version for vga decode
Date: Tue, 10 Oct 2023 12:14:25 +0300 [thread overview]
Message-ID: <87edi26dqm.fsf@intel.com> (raw)
In-Reply-To: <DM4PR11MB63604707F3239BFE7A0A1E58F4CDA@DM4PR11MB6360.namprd11.prod.outlook.com>
On Tue, 10 Oct 2023, "Shankar, Uma" <uma.shankar@intel.com> wrote:
>>
>> > -----Original Message-----
>> > From: Shankar, Uma <uma.shankar@intel.com>
>> > Sent: Friday, October 6, 2023 5:27 PM
>> > To: intel-xe@lists.freedesktop.org
>> > Cc: Nikula, Jani <jani.nikula@intel.com>; Murthy, Arun R
>> > <arun.r.murthy@intel.com>; Shankar, Uma <uma.shankar@intel.com>
>> > Subject: [v2 3/3] drm/xe: Create a dummy version for vga decode
>> >
>> > This introduces an exclusive version of vga decode for xe.
>> > Rest of the display changes will be re-used from i915.
>> >
>> > Currently it adds just a dummy implementation. VGA decode needs to be
>> > handled correctly in i915, proper implementation will be adopted once
>> > the i915 changes are finalized and merged in upstream.
>> >
>> > v2: Addressed Arun's review comments
>> >
>> > Signed-off-by: Uma Shankar <uma.shankar@intel.com>
>> > ---
>> Reviewed-by: Arun R Murthy <arun.r.mruthy@intel.com>
>
> Thanks Arun for the reviews.
>
> Hi Jani,
> Can you please ack this change, I will trigger a task for vga decode handling cleanup
> for i915 as next step.
Not super thrilled about adding a file named "display misc", because
experience has shown anything like that becomes a dumping ground for
random stuff. But anyway,
Acked-by: Jani Nikula <jani.nikula@intel.com>
>
> Thanks & Regards,
> Uma Shankar
>
>
>> Thanks and Regards,
>> Arun R Murthy
>> --------------------
>> > drivers/gpu/drm/xe/Makefile | 1 +
>> > drivers/gpu/drm/xe/display/xe_display_misc.c | 14 ++++++++++++++
>> > 2 files changed, 15 insertions(+)
>> > create mode 100644 drivers/gpu/drm/xe/display/xe_display_misc.c
>> >
>> > diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
>> > index
>> > dff1386ee6b3..175a357366d9 100644
>> > --- a/drivers/gpu/drm/xe/Makefile
>> > +++ b/drivers/gpu/drm/xe/Makefile
>> > @@ -150,6 +150,7 @@ xe-$(CONFIG_DRM_XE_DISPLAY) += \
>> > display/xe_hdcp_gsc.o \
>> > display/xe_plane_initial.o \
>> > display/xe_display_rps.o \
>> > + display/xe_display_misc.o \
>> > display/ext/i915_irq.o \
>> > display/ext/i915_utils.o
>> >
>> > diff --git a/drivers/gpu/drm/xe/display/xe_display_misc.c
>> > b/drivers/gpu/drm/xe/display/xe_display_misc.c
>> > new file mode 100644
>> > index 000000000000..81ff97e704ea
>> > --- /dev/null
>> > +++ b/drivers/gpu/drm/xe/display/xe_display_misc.c
>> > @@ -0,0 +1,14 @@
>> > +// SPDX-License-Identifier: MIT
>> > +/*
>> > + * Copyright © 2023 Intel Corporation */
>> > +
>> > +#include "intel_display_types.h"
>> > +
>> > +struct pci_dev;
>> > +
>> > +unsigned int intel_gmch_vga_set_decode(struct pci_dev *pdev, bool
>> > +enable_decode) {
>> > + /* ToDo: Implement the actual handling of vga decode */
>> > + return 0;
>> > +}
>> > --
>> > 2.42.0
>
--
Jani Nikula, Intel
next prev parent reply other threads:[~2023-10-10 9:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-06 11:56 [Intel-xe] [v2 0/3] drm/xe: Cleanup for addressing vga decode Uma Shankar
2023-10-06 11:56 ` [Intel-xe] [v2 1/3] Revert "FIXME: drm/i915/vga: disable vga set decode for xe" Uma Shankar
2023-10-06 11:56 ` [Intel-xe] [v2 2/3] drm/i915/display: Created exclusive version of vga decode setup Uma Shankar
2023-10-06 11:56 ` [Intel-xe] [v2 3/3] drm/xe: Create a dummy version for vga decode Uma Shankar
2023-10-09 4:27 ` Murthy, Arun R
2023-10-10 7:31 ` Shankar, Uma
2023-10-10 9:14 ` Jani Nikula [this message]
2023-10-10 9:31 ` Shankar, Uma
2023-10-06 14:59 ` [Intel-xe] ✓ CI.Patch_applied: success for drm/xe: Cleanup for addressing vga decode (rev2) Patchwork
2023-10-06 14:59 ` [Intel-xe] ✗ CI.checkpatch: warning " Patchwork
2023-10-06 15:01 ` [Intel-xe] ✓ CI.KUnit: success " Patchwork
2023-10-06 15:08 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-10-06 15:08 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-10-06 15:10 ` [Intel-xe] ✗ CI.checksparse: warning " Patchwork
2023-10-06 15:46 ` [Intel-xe] ✓ CI.BAT: success " Patchwork
2023-10-12 3:39 ` [Intel-xe] [v2 0/3] drm/xe: Cleanup for addressing vga decode Shankar, Uma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87edi26dqm.fsf@intel.com \
--to=jani.nikula@intel.com \
--cc=arun.r.murthy@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=uma.shankar@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.