Re: [Intel-gfx] [RFC PATCH 0/2] i915 brightness control

2010-06-02 Thread Pedro Ribeiro
On 2 June 2010 23:11, Kamal Mostafa wrote: > Requesting comments on this idea (proposed by Matthew Garrett) and my > implementation.  Note especially the KNOWN PROBLEM with a "GM45" GPU. > >  -Kamal > > ... > > BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/568611 > > In order t

[Intel-gfx] [RFC PATCH 2/2] drm/i915: override acpi brightness control

2010-06-02 Thread Kamal Mostafa
BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/568611 Override acpi brightness control with i915-opregion method. Signed-off-by: Kamal Mostafa --- drivers/gpu/drm/i915/i915_opregion.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/driv

[Intel-gfx] [RFC PATCH 1/2] acpi/video: acpi_brightness_hook API

2010-06-02 Thread Kamal Mostafa
BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/568611 New acpi_brightness_hook_register lets another driver (e.g. i915) override the often-dysfunctional native acpi brightness control methods. Signed-off-by: Kamal Mostafa --- drivers/acpi/video.c | 149 ++

[Intel-gfx] [RFC PATCH 0/2] i915 brightness control

2010-06-02 Thread Kamal Mostafa
Requesting comments on this idea (proposed by Matthew Garrett) and my implementation. Note especially the KNOWN PROBLEM with a "GM45" GPU. -Kamal ... BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/568611 In order to avoid the often-dysfunctional native acpi brightness contr

Re: [Intel-gfx] [PATCH] drm/i915: Move non-phys cursors into the GTT

2010-06-02 Thread Arkadiusz Miskiewicz
On Wednesday 02 of June 2010, Chris Wilson wrote: > Cursors need to be in the GTT domain when being accessed by the GPU. > Previously this was a fortuitous byproduct of userspace using pwrite() > to upload the image data into the cursor. The redundant clflush was > removed in commit 9b8c4a and so t

[Intel-gfx] [PATCH] drm/i915: Move non-phys cursors into the GTT

2010-06-02 Thread Chris Wilson
Cursors need to be in the GTT domain when being accessed by the GPU. Previously this was a fortuitous byproduct of userspace using pwrite() to upload the image data into the cursor. The redundant clflush was removed in commit 9b8c4a and so the image was no longer being flushed out of the caches int