25 May, 2011
2 commits
-
Change each shrinker's API by consolidating the existing parameters into
shrink_control struct. This will simplify any further features added w/o
touching each file of shrinker.[akpm@linux-foundation.org: fix build]
[akpm@linux-foundation.org: fix warning]
[kosaki.motohiro@jp.fujitsu.com: fix up new shrinker API]
[akpm@linux-foundation.org: fix xfs warning]
[akpm@linux-foundation.org: update gfs2]
Signed-off-by: Ying Han
Cc: KOSAKI Motohiro
Cc: Minchan Kim
Acked-by: Pavel Emelyanov
Cc: KAMEZAWA Hiroyuki
Cc: Mel Gorman
Acked-by: Rik van Riel
Cc: Johannes Weiner
Cc: Hugh Dickins
Cc: Dave Hansen
Cc: Steven Whitehouse
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
* 'drm-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: (169 commits)
drivers/gpu/drm/radeon/atom.c: fix warning
drm/radeon/kms: bump kms version number
drm/radeon/kms: properly set num banks for fusion asics
drm/radeon/kms/atom: move dig phy init out of modesetting
drm/radeon/kms/cayman: fix typo in register mask
drm/radeon/kms: fix typo in spread spectrum code
drm/radeon/kms: fix tile_config value reported to userspace on cayman.
drm/radeon/kms: fix incorrect comparison in cayman setup code.
drm/radeon/kms: add wait idle ioctl for eg->cayman
drm/radeon/cayman: setup hdp to invalidate and flush when asked
drm/radeon/evergreen/btc/fusion: setup hdp to invalidate and flush when asked
agp/uninorth: Fix lockups with radeon KMS and >1x.
drm/radeon/kms: the SS_Id field in the LCD table if for LVDS only
drm/radeon/kms: properly set the CLK_REF bit for DCE3 devices
drm/radeon/kms: fixup eDP connector handling
drm/radeon/kms: bail early for eDP in hotplug callback
drm/radeon/kms: simplify hotplug handler logic
drm/radeon/kms: rewrite DP handling
drm/radeon/kms/atom: add support for setting DP panel mode
drm/radeon/kms: atombios.h updates for DP panel mode
...
24 May, 2011
7 commits
-
udelay() doesn't like 8-bit arguments:
drivers/gpu/drm/radeon/atom.c: In function 'atom_op_delay':
drivers/gpu/drm/radeon/atom.c:653: warning: comparison is always false due to limited range of data typewhile we're there, use msleep() rather than open-coding it.
Cc: David Airlie
Reviewed-by: Alex Deucher
Cc: Matt Turner
Signed-off-by: Andrew Morton
Signed-off-by: Dave Airlie -
- proper bank size for fusion for 2D tiling.
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
Needed by userspace for 2D tiled buffer alignment
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
It only needs to be called once at startup, not for every
modeset.Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
Noticed by Droste on IRC.
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
b43: fix comment typo reqest -> request
Haavard Skinnemoen has left Atmel
cris: typo in mach-fs Makefile
Kconfig: fix copy/paste-ism for dell-wmi-aio driver
doc: timers-howto: fix a typo ("unsgined")
perf: Only include annotate.h once in tools/perf/util/ui/browsers/annotate.c
md, raid5: Fix spelling error in comment ('Ofcourse' --> 'Of course').
treewide: fix a few typos in comments
regulator: change debug statement be consistent with the style of the rest
Revert "arm: mach-u300/gpio: Fix mem_region resource size miscalculations"
audit: acquire creds selectively to reduce atomic op overhead
rtlwifi: don't touch with treewide double semicolon removal
treewide: cleanup continuations and remove logging message whitespace
ath9k_hw: don't touch with treewide double semicolon removal
include/linux/leds-regulator.h: fix syntax in example code
tty: fix typo in descripton of tty_termios_encode_baud_rate
xtensa: remove obsolete BKL kernel option from defconfig
m68k: fix comment typo 'occcured'
arch:Kconfig.locks Remove unused config option.
treewide: remove extra semicolons
...
22 May, 2011
7 commits
-
cayman is reporting the wrong tile config value to userspace, this
causes piglit mipmap generation tests to fail.Reviewed-by: Alex Deucher
cc: stable@kernel.org
Signed-off-by: Dave Airlie -
This was leading to a bogus value being programmed to the backend
routing register.Reviewed-by: Alex Deucher
cc: stable@kernel.org
Signed-off-by: Dave Airlie -
None of the latest GPUs had this hooked up, this is necessary for
correct operation in a lot of cases, however we should test this on a few
GPUs in these families as we've had problems in this area before.Reviewed-by: Alex Deucher
cc: stable@kernel.org
Signed-off-by: Dave Airlie -
On cayman we need to set the bit to cause HDP flushes to invalidate the
HDP cache also.Reviewed-by: Alex Deucher
cc: stable@kernel.org
Signed-off-by: Dave Airlie -
This needs to be explicitly set on btc. It's set by default
on evergreen/fusion, so it fine to just unconditionally enable it for
all chips.Signed-off-by: Alex Deucher
cc: stable@kernel.org
Signed-off-by: Dave Airlie -
For DP/eDP, always use the standard DP SS indices.
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
If the ss clock is external, the CLK_REF bit needs to be set
in the SetPixelClock parameters. This should fix DP failures
in the channel equalization loop.Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie
20 May, 2011
18 commits
-
It's more like LVDS then DP in some ways.
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
Don't try and en/disable the port as it may be a hpd event from
powering up/down the panel during a modeset or dpms.Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
In the hotplug handler, just use the drm dpms functions.
If the monitor is plugged in, turn it on, if it's not,
turn it off. This also reduces power usage by turning
off the encoder and crtc when the monitor is unplugged.Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
- reorganize the functions based on use
- clean up function naming
- rework link training to better match what we use internally
- add initial support for DP 1.2 (no MST yet)Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
Required for proper operation with DP bridges.
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
Fusion hardware often has DP to VGA/LVDS/TMDS bridges to
handle non-DP encoders. Internally we treat them mostly
like DP.Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
Used for dp1.2 support and for dp bridges.
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
need to wait for the panel to power up.
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
eDP is usually used as an LVDS replacement, so treat
it more like LVDS from the user perspective.v2: encoder mode is always DP for eDP.
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
In DP mode, the DP ref clock can come from PPLL, DCPLL, or ext clock,
depending on the asic. The crtc virtual pixel clock is derived from
the DP ref clock.- DCE4: PPLL or ext clock
- DCE5: DCPLL or ext clockSetting ATOM_PPLL_INVALID will cause SetPixelClock to skip
PPLL/DCPLL programming and only program the DP DTO for the
crtc virtual pixel clock.Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
- properly mask the ss type
- don't enable ss if type is external or percentage is 0
- if ss enabled and type is external, set ref_div_src to ext clock
- prefer ASIC_INTERNAL_SS_ON_DP to LCD_Info SS_Id for eDP
- fix ss amount calculationSigned-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
Signed-off-by: Alex Deucher
Signed-off-by: Dave Airlie -
* 'keithp/drm-intel-next' of ../drm-next:
drm/i915: initialize gen6 rps work queue on Sandy Bridge and Ivy Bridge
drm/i915/sdvo: Reorder i2c initialisation before ddc proxy
drm/i915: FDI link training broken on Ironlake by Ivybridge integration
drm/i915: enable rc6 by default
drm/i915: add fbc enable flag, but disable by default
drm/i915: clean up unused ring_get_irq/ring_put_irq functions
drm/i915: fix user irq miss in BSD ring on g4x
19 May, 2011
1 commit
-
It's not used on Ironlake, but is used on later generations, so make
sure it exists before we try to use it in the interrupt handlers.Signed-off-by: Jesse Barnes
Reviewed-by: Keith Packard
Signed-off-by: Keith Packard
18 May, 2011
4 commits
-
The ddc proxy depends upon the underlying i2c bus being selected. Under
certain configurations, the i2c-adapter functionality is queried during
initialisation and so may trigger an OOPS during boot. Hence, we need to
reorder the initialisation of the ddc proxy until after we hook up the i2c
adapter for the SDVO device.The condition under which it fails is when the i2c_add_adapter calls
into i2c_detect which will attempt to probe all valid addresses on the
adapter iff there is a pre-existing i2c_driver with the same class as
the freshly added i2c_adapter.So it appears to depend upon having compiled in (or loaded such a
module before i915.ko) an i2c-driver that likes to futz over the
i2c_adapters claiming DDC support.Reported-by: Mihai Moldovan
Signed-off-by: Chris Wilson
Reviewed-by: Keith Packard
Signed-off-by: Keith Packard -
Commit 357555c00f8414057f0c12ee3f479f197264123d split out IVB-specific
register definitions for FDI link training, but a piece of that commit
stopped executing some critical code on Ironlake systems while leaving
it running on Sandybridge.Turn that code back on both Ironlake and Sandybridge
Signed-off-by: Keith Packard
Acked-by: Jesse Barnes -
With FBC disabled by default, it should be safe to enable RC6. So let's
give it a try.Signed-off-by: Jesse Barnes
Reviewed-by: Ben Widawsky
Signed-off-by: Keith Packard -
FBC has too many corner cases that we don't currently deal with, so
disable it by default so we can enable more important features like RC6,
which conflicts in some configurations.Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31742
Signed-off-by: Jesse Barnes
Reviewed-by: Ben Widawsky
Signed-off-by: Keith Packard
17 May, 2011
1 commit
-
This patch depends on patch "drm/i915: fix user irq miss in BSD ring on
g4x".
Once the previous patch apply, ring_get_irq/ring_put_irq become unused.
So simply remove them.Signed-off-by: Feng, Boqun
Reviewed-by: Xiang, Haihao
Signed-off-by: Keith Packard