[PATCH] i915: Add a Kconfig option to turn on i915.preliminary_hw_support by default

2013-08-14 Thread Josh Triplett
When building kernels for a preliminary hardware target, having to add a kernel command-line option can prove inconvenient. Add a Kconfig option that changes the default of this option to 1. Signed-off-by: Josh Triplett j...@joshtriplett.org --- I dropped the indication of the default

[PATCH 22/85] drivers: gpu: Mark functions as static in radeon_device.c

2014-01-08 Thread Josh Triplett
on_device.c:281:6: warning: no previous > > prototype for ?radeon_doorbell_fini? [-Wmissing-prototypes] > > > > Signed-off-by: Rashika Kheria > > Reviewed-by: Josh Triplett > > I've pulled in a subset of these patches: > http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-

[PATCH v5 06/24] Update MAINTAINERS and CREDITS files with amdkfd info

2014-11-08 Thread Josh Triplett
hemselves to the MAINTAINERS file (perhaps in the same entry as get_maintainer.pl), so that get_maintainer.pl does not fall back to git history for them? - Josh Triplett

[PATCH v5 06/24] Update MAINTAINERS and CREDITS files with amdkfd info

2014-11-08 Thread Josh Triplett
On Sat, Nov 08, 2014 at 12:49:29PM -0800, Joe Perches wrote: > On Sat, 2014-11-08 at 11:01 -0800, Josh Triplett wrote: > > On Sat, Nov 08, 2014 at 08:37:27PM +0200, Oded Gabbay wrote: > > > CREDITS | 7 +++ > > > MAINTAINERS | 10 ++ > >

[PATCH 82/85] drivers: gpu: Mark functions as static in vmwgfx_kms.c

2014-01-07 Thread Josh Triplett
_du_update_layout? [-Wmissing-prototypes] > > > > Signed-off-by: Rashika Kheria > > Reviewed-by: Josh Triplett > > --- > > drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 12 ++-- > > 1 file changed, 6 insertions(+), 6 deletions(-) > > > This and pat

[PATCH 0/9] use c99 initializers in structures

2014-08-23 Thread Josh Triplett
0 or NULL, > where some of the fields already use labels, and where there are nested > structures. I responded to patches 6 and 8 with comments; for the rest (1-5, 7, 9): Reviewed-by: Josh Triplett

[PATCH 6/9] drm: use c99 initializers in structures

2014-08-23 Thread Josh Triplett
// > > Signed-off-by: Julia Lawall For this patch, I think it would make sense to drop initializations of preferred/quirks/modes to 0, since a designated initializer may skip fields to leave them initialized to 0. With that change: Reviewed-by: Josh Triplett &

[PATCH] i915: Add a Kconfig option to turn on i915.preliminary_hw_support by default

2013-08-13 Thread Josh Triplett
When building kernels for a preliminary hardware target, having to add a kernel command-line option can prove inconvenient. Add a Kconfig option that changes the default of this option to 1. Signed-off-by: Josh Triplett --- I dropped the indication of the default in the module parameter

[PATCH] drivers: gpu: drm: i915: Replaced calls to kmalloc & memcpy with kmemdup

2013-03-11 Thread Josh Triplett
nse; this should just "return kmemdup(...);". That suggests an obvious further cleanup that coccinelle could easily handle: if (!foo) return NULL; return foo; should become just "return foo;". And you might then want to check for variables used *only* to capture a return value and immediately returned, and eliminate them. - Josh Triplett

[PATCH 9/9] [media] mm: Move get_vaddr_frames() behind a config option

2015-06-10 Thread Josh Triplett
On Wed, Jun 10, 2015 at 06:20:52AM -0300, Mauro Carvalho Chehab wrote: > From: Jan Kara > > get_vaddr_frames() is used by relatively rare drivers so hide it and the > related functions behind a config option that is selected only by > drivers that need the infrastructure. > > Suggested-by:

Re: [PATCH v2] drm/i915/quirk: Add quirk for devices that cannot be dimmed

2023-06-23 Thread Josh Triplett
On Thu, Jun 22, 2023 at 05:28:15PM +, Allen Ballway wrote: > --- a/drivers/gpu/drm/i915/display/intel_backlight.c > +++ b/drivers/gpu/drm/i915/display/intel_backlight.c > @@ -1192,6 +1192,11 @@ static u32 get_backlight_min_vbt(struct > intel_connector *connector) > > drm_WARN_ON(>drm,