mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 13:19:56 -04:00
tree-wide: fix assorted typos all over the place
That is "success", "unknown", "through", "performance", "[re|un]mapping" , "access", "default", "reasonable", "[con]currently", "temperature" , "channel", "[un]used", "application", "example","hierarchy", "therefore" , "[over|under]flow", "contiguous", "threshold", "enough" and others. Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
committed by
Jiri Kosina
parent
972b94ffb9
commit
af901ca181
@@ -272,7 +272,7 @@ EXPORT_SYMBOL(drm_mode_object_find);
|
||||
* functions & device file and adds it to the master fd list.
|
||||
*
|
||||
* RETURNS:
|
||||
* Zero on success, error code on falure.
|
||||
* Zero on success, error code on failure.
|
||||
*/
|
||||
int drm_framebuffer_init(struct drm_device *dev, struct drm_framebuffer *fb,
|
||||
const struct drm_framebuffer_funcs *funcs)
|
||||
@@ -2328,7 +2328,7 @@ int drm_mode_connector_property_set_ioctl(struct drm_device *dev,
|
||||
} else if (connector->funcs->set_property)
|
||||
ret = connector->funcs->set_property(connector, property, out_resp->value);
|
||||
|
||||
/* store the property value if succesful */
|
||||
/* store the property value if successful */
|
||||
if (!ret)
|
||||
drm_connector_property_set_value(connector, property, out_resp->value);
|
||||
out:
|
||||
|
||||
@@ -1309,7 +1309,7 @@ i915_gem_create_mmap_offset(struct drm_gem_object *obj)
|
||||
* i915_gem_release_mmap - remove physical page mappings
|
||||
* @obj: obj in question
|
||||
*
|
||||
* Preserve the reservation of the mmaping with the DRM core code, but
|
||||
* Preserve the reservation of the mmapping with the DRM core code, but
|
||||
* relinquish ownership of the pages back to the system.
|
||||
*
|
||||
* It is vital that we remove the page mapping if we have mapped a tiled
|
||||
|
||||
@@ -70,7 +70,7 @@ static struct drm_fb_helper_funcs intel_fb_helper_funcs = {
|
||||
|
||||
|
||||
/**
|
||||
* Curretly it is assumed that the old framebuffer is reused.
|
||||
* Currently it is assumed that the old framebuffer is reused.
|
||||
*
|
||||
* LOCKING
|
||||
* caller should hold the mode config lock.
|
||||
|
||||
@@ -2726,7 +2726,7 @@ bool intel_sdvo_init(struct drm_device *dev, int output_device)
|
||||
/* Wrap with our custom algo which switches to DDC mode */
|
||||
intel_output->ddc_bus->algo = &intel_sdvo_i2c_bit_algo;
|
||||
|
||||
/* In defaut case sdvo lvds is false */
|
||||
/* In default case sdvo lvds is false */
|
||||
intel_sdvo_get_capabilities(intel_output, &sdvo_priv->caps);
|
||||
|
||||
if (intel_sdvo_output_setup(intel_output,
|
||||
|
||||
@@ -389,11 +389,11 @@ int r600_mc_init(struct radeon_device *rdev)
|
||||
* AGP so that GPU can catch out of VRAM/AGP access
|
||||
*/
|
||||
if (rdev->mc.gtt_location > rdev->mc.mc_vram_size) {
|
||||
/* Enought place before */
|
||||
/* Enough place before */
|
||||
rdev->mc.vram_location = rdev->mc.gtt_location -
|
||||
rdev->mc.mc_vram_size;
|
||||
} else if (tmp > rdev->mc.mc_vram_size) {
|
||||
/* Enought place after */
|
||||
/* Enough place after */
|
||||
rdev->mc.vram_location = rdev->mc.gtt_location +
|
||||
rdev->mc.gtt_size;
|
||||
} else {
|
||||
|
||||
@@ -59,7 +59,7 @@ static struct fb_ops radeonfb_ops = {
|
||||
};
|
||||
|
||||
/**
|
||||
* Curretly it is assumed that the old framebuffer is reused.
|
||||
* Currently it is assumed that the old framebuffer is reused.
|
||||
*
|
||||
* LOCKING
|
||||
* caller should hold the mode config lock.
|
||||
|
||||
@@ -1950,7 +1950,7 @@ static void radeon_apply_surface_regs(int surf_index,
|
||||
* Note that refcount can be at most 2, since during a free refcount=3
|
||||
* might mean we have to allocate a new surface which might not always
|
||||
* be available.
|
||||
* For example : we allocate three contigous surfaces ABC. If B is
|
||||
* For example : we allocate three contiguous surfaces ABC. If B is
|
||||
* freed, we suddenly need two surfaces to store A and C, which might
|
||||
* not always be available.
|
||||
*/
|
||||
|
||||
@@ -372,7 +372,7 @@ static int radeon_bo_move(struct ttm_buffer_object *bo,
|
||||
new_mem->mem_type == TTM_PL_SYSTEM) ||
|
||||
(old_mem->mem_type == TTM_PL_SYSTEM &&
|
||||
new_mem->mem_type == TTM_PL_TT)) {
|
||||
/* bind is enought */
|
||||
/* bind is enough */
|
||||
radeon_move_null(bo, new_mem);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -807,11 +807,11 @@ int rv770_mc_init(struct radeon_device *rdev)
|
||||
* AGP so that GPU can catch out of VRAM/AGP access
|
||||
*/
|
||||
if (rdev->mc.gtt_location > rdev->mc.mc_vram_size) {
|
||||
/* Enought place before */
|
||||
/* Enough place before */
|
||||
rdev->mc.vram_location = rdev->mc.gtt_location -
|
||||
rdev->mc.mc_vram_size;
|
||||
} else if (tmp > rdev->mc.mc_vram_size) {
|
||||
/* Enought place after */
|
||||
/* Enough place after */
|
||||
rdev->mc.vram_location = rdev->mc.gtt_location +
|
||||
rdev->mc.gtt_size;
|
||||
} else {
|
||||
|
||||
@@ -427,7 +427,7 @@ static int ttm_bo_kmap_ttm(struct ttm_buffer_object *bo,
|
||||
|
||||
/*
|
||||
* We need to use vmap to get the desired page protection
|
||||
* or to make the buffer object look contigous.
|
||||
* or to make the buffer object look contiguous.
|
||||
*/
|
||||
prot = (mem->placement & TTM_PL_FLAG_CACHED) ?
|
||||
PAGE_KERNEL :
|
||||
|
||||
Reference in New Issue
Block a user